cleanup: get/set sent clock is now unused.
This commit is contained in:
parent
9da4857066
commit
da31f9cadd
11
src/ssb.c
11
src/ssb.c
@ -279,7 +279,6 @@ typedef struct _tf_ssb_connection_t
|
|||||||
int32_t tunnel_request_number;
|
int32_t tunnel_request_number;
|
||||||
|
|
||||||
tf_ssb_blob_wants_t blob_wants;
|
tf_ssb_blob_wants_t blob_wants;
|
||||||
bool sent_clock;
|
|
||||||
int32_t ebt_request_number;
|
int32_t ebt_request_number;
|
||||||
tf_ssb_ebt_t* ebt;
|
tf_ssb_ebt_t* ebt;
|
||||||
|
|
||||||
@ -3888,16 +3887,6 @@ void tf_ssb_verify_strip_and_store_message(tf_ssb_t* ssb, JSValue value, tf_ssb_
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool tf_ssb_connection_get_sent_clock(tf_ssb_connection_t* connection)
|
|
||||||
{
|
|
||||||
return connection->sent_clock;
|
|
||||||
}
|
|
||||||
|
|
||||||
void tf_ssb_connection_set_sent_clock(tf_ssb_connection_t* connection, bool sent_clock)
|
|
||||||
{
|
|
||||||
connection->sent_clock = sent_clock;
|
|
||||||
}
|
|
||||||
|
|
||||||
int32_t tf_ssb_connection_get_ebt_request_number(tf_ssb_connection_t* connection)
|
int32_t tf_ssb_connection_get_ebt_request_number(tf_ssb_connection_t* connection)
|
||||||
{
|
{
|
||||||
return connection->ebt_request_number;
|
return connection->ebt_request_number;
|
||||||
|
14
src/ssb.h
14
src/ssb.h
@ -925,20 +925,6 @@ int32_t tf_ssb_connection_get_ebt_request_number(tf_ssb_connection_t* connection
|
|||||||
*/
|
*/
|
||||||
void tf_ssb_connection_set_ebt_request_number(tf_ssb_connection_t* connection, int32_t request_number);
|
void tf_ssb_connection_set_ebt_request_number(tf_ssb_connection_t* connection, int32_t request_number);
|
||||||
|
|
||||||
/**
|
|
||||||
** Get whether the EBT clock has been sent for a connection.
|
|
||||||
** @param connection An SHS connection.
|
|
||||||
** @return True if the clock has been sent.
|
|
||||||
*/
|
|
||||||
bool tf_ssb_connection_get_sent_clock(tf_ssb_connection_t* connection);
|
|
||||||
|
|
||||||
/**
|
|
||||||
** Set the EBT clock sent state for a connection.
|
|
||||||
** @param connection An SHS connection.
|
|
||||||
** @param sent_clock Whether the clock has been sent.
|
|
||||||
*/
|
|
||||||
void tf_ssb_connection_set_sent_clock(tf_ssb_connection_t* connection, bool sent_clock);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
** Get the JS class ID of the SSB connection class.
|
** Get the JS class ID of the SSB connection class.
|
||||||
** @return The class ID
|
** @return The class ID
|
||||||
|
Loading…
Reference in New Issue
Block a user