forked from cory/tildefriends
blob wants from JS -> C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4106 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -57,6 +57,13 @@ typedef struct _tf_ssb_stats_t
|
||||
} callbacks;
|
||||
} tf_ssb_stats_t;
|
||||
|
||||
typedef struct _tf_ssb_blob_wants_t
|
||||
{
|
||||
int32_t request_number;
|
||||
char last_id[k_blob_id_len];
|
||||
int wants_sent;
|
||||
} tf_ssb_blob_wants_t;
|
||||
|
||||
tf_ssb_t* tf_ssb_create(uv_loop_t* loop, JSContext* context, sqlite3* db);
|
||||
void tf_ssb_destroy(tf_ssb_t* ssb);
|
||||
|
||||
@ -146,3 +153,5 @@ tf_ssb_connection_t* tf_ssb_connection_tunnel_create(tf_ssb_t* ssb, const char*
|
||||
JSClassID tf_ssb_get_connection_class_id();
|
||||
|
||||
void tf_ssb_get_stats(tf_ssb_t* ssb, tf_ssb_stats_t* out_stats);
|
||||
|
||||
tf_ssb_blob_wants_t* tf_ssb_connection_get_blob_wants_state(tf_ssb_connection_t* connection);
|
||||
|
Reference in New Issue
Block a user