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

This commit is contained in:
2025-11-29 11:33:16 -05:00
parent fa4ef3b082
commit bc3fd57d7a
7 changed files with 123 additions and 2 deletions

View File

@@ -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);
/** @} */