ssb: Refactoring EBT implementation. I think this works not worse than before and will let me schedule message replication better in a future change. #93
This commit is contained in:
@ -77,6 +77,8 @@ typedef enum _tf_ssb_connect_flags_t
|
||||
typedef struct _tf_ssb_t tf_ssb_t;
|
||||
/** An SSB connection. */
|
||||
typedef struct _tf_ssb_connection_t tf_ssb_connection_t;
|
||||
/** A connection's EBT state. */
|
||||
typedef struct _tf_ssb_ebt_t tf_ssb_ebt_t;
|
||||
/** A trace instance. */
|
||||
typedef struct _tf_trace_t tf_trace_t;
|
||||
/** An SQLite database handle. */
|
||||
@ -1132,4 +1134,11 @@ void tf_ssb_sync_start(tf_ssb_t* ssb);
|
||||
*/
|
||||
int tf_ssb_connection_get_flags(tf_ssb_connection_t* connection);
|
||||
|
||||
/**
|
||||
** Get a connection's EBT state.
|
||||
** @param connection The connection.
|
||||
** @return the EBT state for the connection.
|
||||
*/
|
||||
tf_ssb_ebt_t* tf_ssb_connection_get_ebt(tf_ssb_connection_t* connection);
|
||||
|
||||
/** @} */
|
||||
|
Reference in New Issue
Block a user