ssb: Add entries to the blob wants cache when requesting a missing blob from the web. #120

This commit is contained in:
2025-05-17 12:46:47 -04:00
parent 476fec2757
commit e3fcdea362
3 changed files with 47 additions and 1 deletions

View File

@ -599,4 +599,11 @@ typedef struct _tf_ssb_identity_info_t
*/
tf_ssb_identity_info_t* tf_ssb_db_get_identity_info(tf_ssb_t* ssb, const char* user, const char* package_owner, const char* package_name);
/**
** Add or update a blob wants cache entry.
** @param db The database.
** @param id The wanted blob ID.
*/
void tf_ssb_db_add_blob_wants(sqlite3* db, const char* id);
/** @} */