ssb: Add get_identity, get_sequence, and get_profile commands. #89
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 25m41s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 25m41s
This commit is contained in:
@ -483,6 +483,14 @@ bool tf_ssb_db_get_global_setting_int64(sqlite3* db, const char* name, int64_t*
|
||||
*/
|
||||
bool tf_ssb_db_get_global_setting_string(sqlite3* db, const char* name, char* out_value, size_t size);
|
||||
|
||||
/**
|
||||
** Get the latest profile information for the given identity.
|
||||
** @param db The database.
|
||||
** @param id The identity.
|
||||
** @return A JSON representation of the latest profile information set for the account. Free with tf_free().
|
||||
*/
|
||||
const char* tf_ssb_db_get_profile(sqlite3* db, const char* id);
|
||||
|
||||
/**
|
||||
** An SQLite authorizer callback. See https://www.sqlite.org/c3ref/set_authorizer.html for use.
|
||||
** @param user_data User data registered with the authorizer.
|
||||
|
Reference in New Issue
Block a user