core: Move core.globalSettingSet to C.
This commit is contained in:
@@ -32,7 +32,7 @@ void tf_ssb_db_init_reader(sqlite3* db);
|
||||
** @param ssb The SSB instance.
|
||||
** @param id The message identifier.
|
||||
** @param[out] out_blob Populated with the message content.
|
||||
** @param[out] out_size POpulated with the size of the message content.
|
||||
** @param[out] out_size Populated with the size of the message content.
|
||||
** @return true If the message content was found and retrieved.
|
||||
*/
|
||||
bool tf_ssb_db_message_content_get(tf_ssb_t* ssb, const char* id, uint8_t** out_blob, size_t* out_size);
|
||||
@@ -454,7 +454,7 @@ const char* tf_ssb_db_resolve_index(sqlite3* db, const char* host);
|
||||
/**
|
||||
** Verify an author's feed.
|
||||
** @param ssb The SSB instance.
|
||||
** @param id The author'd identity.
|
||||
** @param id The author's identity.
|
||||
** @param debug_sequence Message sequence number to debug if non-zero.
|
||||
** @param fix Fix invalid messages when possible.
|
||||
** @return true If the feed verified successfully.
|
||||
@@ -511,10 +511,10 @@ const char* tf_ssb_db_get_global_setting_string_alloc(sqlite3* db, const char* n
|
||||
** Set a global setting from a string representation of its value.
|
||||
** @param db The database.
|
||||
** @param name The setting name.
|
||||
** @param value The settinv value.
|
||||
** @param value The setting value.
|
||||
** @return true if the setting was set.
|
||||
*/
|
||||
bool tf_ssb_db_set_global_setting_from_string(sqlite3* db, const char* name, char* value);
|
||||
bool tf_ssb_db_set_global_setting_from_string(sqlite3* db, const char* name, const char* value);
|
||||
|
||||
/**
|
||||
** Get the latest profile information for the given identity.
|
||||
|
||||
Reference in New Issue
Block a user