]> code.citadel.org Git - citadel.git/blobdiff - citadel/database.h
Removed the 'defrag databases' stub function and command
[citadel.git] / citadel / database.h
index 420fe6d1837841d82a0b5fcc09bb65a365da65ef..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);
@@ -15,6 +19,10 @@ void cdb_allocate_tsd(void);
 void cdb_free_tsd(void);
 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
@@ -33,4 +41,5 @@ struct CtdlCompressHeader {
        size_t compressed_len;
 };
 
+#endif /* DATABASE_H */