]> code.citadel.org Git - citadel.git/blobdiff - citadel/database.h
Removed the 'defrag databases' stub function and command
[citadel.git] / citadel / database.h
index b913faa87048e0b6f602d148841ac01801f82578..c20144690b3726db6bf05bfed4e3d40164840b32 100644 (file)
@@ -1,5 +1,9 @@
 /* $Id$ */
-void defrag_databases (void);
+
+#ifndef DATABASE_H
+#define DATABASE_H
+
+
 void open_databases (void);
 void close_databases (void);
 int cdb_store (int cdb, void *key, int keylen, void *data, int datalen);
@@ -17,6 +21,8 @@ void cdb_check_handles(void);
 void cdb_trunc(int cdb);
 void *checkpoint_thread(void *arg);
 void cdb_chmod_data(void);
+void cdb_checkpoint(void);
+void check_handles(void *arg);
 
 /*
  * Database records beginning with this magic number are assumed to
@@ -35,4 +41,5 @@ struct CtdlCompressHeader {
        size_t compressed_len;
 };
 
+#endif /* DATABASE_H */