database.h: assert that it is an internal API that should remain consistent across...
authorArt Cancro <ajc@citadel.org>
Mon, 7 Aug 2023 15:26:28 +0000 (06:26 -0900)
committerArt Cancro <ajc@citadel.org>
Mon, 7 Aug 2023 15:26:28 +0000 (06:26 -0900)
citadel/server/database.h

index e55d9f7e6024c856be592e2f55c1b9757de1ee4e..4ebb0ceb7025a80ff2835bbd013b8114eef2c959 100644 (file)
@@ -1,19 +1,12 @@
-/*
- * Copyright (c) 1987-2017 by the citadel.org team
- *
- *  This program is open source software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License version 3.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- */
+// Copyright (c) 1987-2017 by the citadel.org team
+// This program is open source software.  Use, duplication, or disclosure
+// are subject to the terms of the GNU General Public License, version 3.
+
+// We expect these functions to act as an internal API that remains identical
+// across multiple database back ends.
 
 #ifndef DATABASE_H
 #define DATABASE_H
-
-
 void open_databases (void);
 void close_databases (void);
 int cdb_store (int cdb, const void *key, int keylen, void *data, int datalen);
@@ -35,9 +28,5 @@ void cdb_checkpoint(void);
 void check_handles(void *arg);
 void cdb_cull_logs(void);
 void cdb_compact(void);
-
-
 int CheckIfAlreadySeen(StrBuf *guid);
-
-#endif /* DATABASE_H */
-
+#endif