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:
@ -198,6 +198,8 @@ typedef struct _tf_ssb_connection_t
|
||||
tf_ssb_connection_t* tunnel_connection;
|
||||
int32_t tunnel_request_number;
|
||||
|
||||
tf_ssb_blob_wants_t blob_wants;
|
||||
|
||||
JSValue object;
|
||||
|
||||
char name[32];
|
||||
@ -2926,3 +2928,8 @@ void tf_ssb_connection_remove_room_attendant(tf_ssb_connection_t* connection, co
|
||||
_tf_ssb_notify_broadcasts_changed(connection->ssb);
|
||||
}
|
||||
}
|
||||
|
||||
tf_ssb_blob_wants_t* tf_ssb_connection_get_blob_wants_state(tf_ssb_connection_t* connection)
|
||||
{
|
||||
return connection ? &connection->blob_wants : NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user