1 // checkpointing module for the database
3 // Copyright (c) 1987-2024 by the citadel.org team
5 // This program is open source software. Use, duplication, or disclosure
6 // is subject to the terms of the GNU General Public License, version 3.
8 #include "../../sysdep.h"
16 #include <libcitadel.h>
18 #include "../../citadel_defs.h"
19 #include "../../server.h"
20 #include "../../citserver.h"
21 #include "../../msgbase.h"
22 #include "../../sysdep_decls.h"
23 #include "../../config.h"
24 #include "../../threads.h"
25 #include "../../ctdl_module.h"
26 #include "../../context.h"
28 // Initialization function, called from modules_init.c
29 char *ctdl_module_init_checkpoint(void) {
31 CtdlRegisterSessionHook(cdb_checkpoint, EVT_TIMER, PRIO_CLEANUP + 10);
33 // return our module name for the log