forked from cory/tildefriends
ssb: Add a has_blob command. #89
This commit is contained in:
@ -39,11 +39,11 @@ bool tf_ssb_db_message_content_get(tf_ssb_t* ssb, const char* id, uint8_t** out_
|
||||
|
||||
/**
|
||||
** Determine whether a blob is in the database by ID.
|
||||
** @param ssb The SSB instasnce.
|
||||
** @param db The SQLite database instance to use.
|
||||
** @param id The blob identifier.
|
||||
** @return true If the blob is in the database.
|
||||
*/
|
||||
bool tf_ssb_db_blob_has(tf_ssb_t* ssb, const char* id);
|
||||
bool tf_ssb_db_blob_has(sqlite3* db, const char* id);
|
||||
|
||||
/**
|
||||
** Retrieve a blob from the database.
|
||||
|
Reference in New Issue
Block a user