]> code.citadel.org Git - citadel.git/blobdiff - citadel/database.h
Changed the way we do the TSD area.
[citadel.git] / citadel / database.h
index 420fe6d1837841d82a0b5fcc09bb65a365da65ef..c4aac796eaac8d600ff9569389261cf1e7fa5060 100644 (file)
@@ -1,4 +1,9 @@
 /* $Id$ */
+
+#ifndef DATABASE_H
+#define DATABASE_H
+
+
 void defrag_databases (void);
 void open_databases (void);
 void close_databases (void);
@@ -15,6 +20,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 +42,5 @@ struct CtdlCompressHeader {
        size_t compressed_len;
 };
 
+#endif /* DATABASE_H */