From da31f9cadde48b80cd46b997c777eacedfe84476 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Fri, 3 Jan 2025 16:56:04 -0500 Subject: [PATCH] cleanup: get/set sent clock is now unused. --- src/ssb.c | 11 ----------- src/ssb.h | 14 -------------- 2 files changed, 25 deletions(-) diff --git a/src/ssb.c b/src/ssb.c index 9078c139..fdd2e43a 100644 --- a/src/ssb.c +++ b/src/ssb.c @@ -279,7 +279,6 @@ typedef struct _tf_ssb_connection_t int32_t tunnel_request_number; tf_ssb_blob_wants_t blob_wants; - bool sent_clock; int32_t ebt_request_number; 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) { return connection->ebt_request_number; diff --git a/src/ssb.h b/src/ssb.h index 447238b2..ccd6183d 100644 --- a/src/ssb.h +++ b/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); -/** -** 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. ** @return The class ID