ssb: Update ebt received value on the fly.

This commit is contained in:
2025-03-16 22:04:06 -04:00
parent 862d172ca8
commit bb7d2d7ae0
9 changed files with 36 additions and 11 deletions

View File

@ -78,6 +78,14 @@ tf_ssb_ebt_clock_t* tf_ssb_ebt_get_messages_to_send(tf_ssb_ebt_t* ebt);
*/
void tf_ssb_ebt_set_messages_sent(tf_ssb_ebt_t* ebt, const char* id, int64_t sequence);
/**
** Update the clock state indicating the messages that have been received for an account.
** @param ebt The EBT instance.
** @param id The identity to update.
** @param sequence The maximum sequence number received.
*/
void tf_ssb_ebt_set_messages_received(tf_ssb_ebt_t* ebt, const char* id, int64_t sequence);
/**
** Destroy an EBT instance.
** @param ebt The EBT instance.