]> code.citadel.org Git - citadel.git/blobdiff - citadel/database.c
* Merged in code from the TRANSACTIONS branch for testing.
[citadel.git] / citadel / database.c
index 77360c6e0cf4703d6e8c8bb838d6e41d7b1c450b..a95abbe174fdd18edfabac1a41cc9e8419c0c967 100644 (file)
@@ -1,8 +1,7 @@
 /*
  * $Id$
  *
- * This file contains a set of abstractions that allow Citadel to plug into any
- * record manager or database system for its data store.
+ * GDBM database driver for Citadel/UX
  *
  */
 
@@ -24,9 +23,7 @@
 #include <ctype.h>
 #include <string.h>
 #include <errno.h>
-#ifdef HAVE_GDBM_H
 #include <gdbm.h>
-#endif
 #include "citadel.h"
 #include "server.h"
 #include "database.h"
@@ -340,3 +337,14 @@ struct cdbdata *cdb_next_item(int cdb)
 
        return (cdbret);
 }
+
+
+/*
+ * empty functions because GDBM doesn't have transaction support
+ */
+
+void cdb_begin_transaction(void) {
+}
+
+void cdb_end_transaction(void) {
+}