forked from cory/tildefriends
Add missing statics, and remove the 'tildefriends check' command.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4838 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -29,7 +29,6 @@ static const int k_sql_async_timeout_ms = 60 * 1000;
|
||||
|
||||
static JSClassID _tf_ssb_classId;
|
||||
|
||||
void _tf_ssb_on_rpc(tf_ssb_connection_t* connection, uint8_t flags, int32_t request_number, JSValue args, const uint8_t* message, size_t size, void* user_data);
|
||||
static JSValue _tf_ssb_appendMessageWithIdentity(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv);
|
||||
|
||||
static JSValue _tf_ssb_createIdentity(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv)
|
||||
@ -413,7 +412,7 @@ typedef struct _blob_store_t
|
||||
uint8_t* buffer;
|
||||
} blob_store_t;
|
||||
|
||||
void _tf_ssb_blob_store_complete(blob_store_t* store, const char* id)
|
||||
static void _tf_ssb_blob_store_complete(blob_store_t* store, const char* id)
|
||||
{
|
||||
JSValue result = JS_UNDEFINED;
|
||||
if (id)
|
||||
@ -437,7 +436,7 @@ void _tf_ssb_blob_store_complete(blob_store_t* store, const char* id)
|
||||
tf_free(store);
|
||||
}
|
||||
|
||||
void _tf_ssb_blob_store_callback(const char* id, bool is_new, void* user_data)
|
||||
static void _tf_ssb_blob_store_callback(const char* id, bool is_new, void* user_data)
|
||||
{
|
||||
blob_store_t* store = user_data;
|
||||
_tf_ssb_blob_store_complete(store, id);
|
||||
@ -975,7 +974,7 @@ typedef struct _message_store_t
|
||||
JSValue promise[2];
|
||||
} message_store_t;
|
||||
|
||||
void _tf_ssb_message_store_callback(const char* id, bool verified, bool is_new, void* user_data)
|
||||
static void _tf_ssb_message_store_callback(const char* id, bool verified, bool is_new, void* user_data)
|
||||
{
|
||||
message_store_t* store = user_data;
|
||||
JSValue result = JS_Call(store->context, id ? store->promise[0] : store->promise[1], JS_UNDEFINED, 0, NULL);
|
||||
|
Reference in New Issue
Block a user