2 * Copyright (C) Joerg Lenneis 2003
3 * Copyright (C) Frank Lahm 2010
4 * All Rights Reserved. See COPYING.
7 #ifndef CNID_DBD_DB_PARAM_H
8 #define CNID_DBD_DB_PARAM_H 1
10 #include <sys/param.h>
11 #include <sys/cdefs.h>
13 #define DEFAULT_LOGFILE_AUTOREMOVE 1
14 #define DEFAULT_CACHESIZE (8 * 1024) /* KB, so 8 MB */
15 #define DEFAULT_MAXLOCKS 5000
16 #define DEFAULT_MAXLOCKOBJS 5000
17 #define DEFAULT_FLUSH_FREQUENCY 1000
18 #define DEFAULT_FLUSH_INTERVAL 1800
19 #define DEFAULT_USOCK_FILE "usock"
20 #define DEFAULT_FD_TABLE_SIZE 512
21 #define DEFAULT_IDLE_TIMEOUT (10 * 60)
25 int logfile_autoremove;
26 int cachesize; /* in KB */
32 char usock_file[MAXPATHLEN + 1];
38 extern struct db_param *db_param_read (char *);
40 #endif /* CNID_DBD_DB_PARAM_H */