2 * checkpointing module for the database
4 * Copyright (c) 1987-2022 by the citadel.org team
6 * This program is open source software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License, version 3.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #include "../../sysdep.h"
23 #include <libcitadel.h>
25 #include "../../citadel.h"
26 #include "../../server.h"
27 #include "../../citserver.h"
28 #include "../../msgbase.h"
29 #include "../../sysdep_decls.h"
30 #include "../../config.h"
31 #include "../../threads.h"
32 #include "../../ctdl_module.h"
33 #include "../../context.h"
35 // Initialization function, called from modules_init.c
36 char *ctdl_module_init_checkpoint(void) {
38 CtdlRegisterSessionHook(cdb_checkpoint, EVT_TIMER, PRIO_CLEANUP + 10);
40 /* return our module name for the log */