]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/modules/checkpoint/serv_checkpoint.c
Wondering how we ever got by with narrow terminals
[citadel.git] / citadel / server / modules / checkpoint / serv_checkpoint.c
index 090bfd6afd906d346422f8ef8373e6714d3462d8..ca6b1b76ca8d3ec77e0c324b26f12948811e3ae7 100644 (file)
@@ -1,16 +1,9 @@
-/*
- * checkpointing module for the database
- *
- * Copyright (c) 1987-2022 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.
- */
+// checkpointing module for the database
+//
+// Copyright (c) 1987-2024 by the citadel.org team
+//
+// This program is open source software.  Use, duplication, or disclosure
+// is subject to the terms of the GNU General Public License, version 3.
  
 #include "../../sysdep.h"
 #include <stdlib.h>
@@ -22,7 +15,7 @@
 
 #include <libcitadel.h>
 
-#include "../../citadel.h"
+#include "../../citadel_defs.h"
 #include "../../server.h"
 #include "../../citserver.h"
 #include "../../msgbase.h"
 #include "../../ctdl_module.h"
 #include "../../context.h"
 
+// Initialization function, called from modules_init.c
 char *ctdl_module_init_checkpoint(void) {
        if (threading) {
                CtdlRegisterSessionHook(cdb_checkpoint, EVT_TIMER, PRIO_CLEANUP + 10);
        }
-       /* return our module name for the log */
+       // return our module name for the log
        return "checkpoint";
 }