ssb: The block list can be crudely managed through the admin app.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 8m54s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 8m54s
This commit is contained in:
@@ -639,4 +639,12 @@ void tf_ssb_db_remove_block(sqlite3* db, const char* id);
|
||||
*/
|
||||
bool tf_ssb_db_is_blocked(sqlite3* db, const char* id);
|
||||
|
||||
/**
|
||||
** Get block list.
|
||||
** @param db The database.
|
||||
** @param callback Called for each entry.
|
||||
** @param user_data User data to be passed to the callback.
|
||||
*/
|
||||
void tf_ssb_db_get_blocks(sqlite3* db, void (*callback)(const char* id, double timestamp, void* user_data), void* user_data);
|
||||
|
||||
/** @} */
|
||||
|
||||
Reference in New Issue
Block a user