]> code.citadel.org Git - citadel.git/commitdiff
Also remove cdb_allocate_tsd(), cdb_free_tsd(), cdb_cull_logs()
authorArt Cancro <ajc@citadel.org>
Tue, 8 Aug 2023 14:04:54 +0000 (10:04 -0400)
committerArt Cancro <ajc@citadel.org>
Tue, 8 Aug 2023 14:04:54 +0000 (10:04 -0400)
It is important to get this right because it's going to become a driver interface for databases

citadel/server/database.h

index 97252ed380805bfaf04861429636a9ba7654bbb5..053603a50aef2b73d11e18d2791ae0b09513adec 100644 (file)
@@ -13,19 +13,16 @@ int cdb_store(int cdb, const void *key, int keylen, void *data, int datalen);
 int cdb_delete(int cdb, void *key, int keylen);
 struct cdbdata *cdb_fetch(int cdb, const void *key, int keylen);
 void cdb_free(struct cdbdata *cdb);
-void cdb_rewind (int cdb);
+void cdb_rewind(int cdb);
 struct cdbdata *cdb_next_item(int cdb);
 void cdb_close_cursor(int cdb);
 void cdb_begin_transaction(void);
 void cdb_end_transaction(void);
-void cdb_allocate_tsd(void);
-void cdb_free_tsd(void);
 void cdb_check_handles(void);
 void cdb_trunc(int cdb);
 void cdb_chmod_data(void);
 void cdb_checkpoint(void);
 void check_handles(void *arg);
-void cdb_cull_logs(void);
 void cdb_compact(void);
 int CheckIfAlreadySeen(StrBuf *guid);
 #endif