]> git.sur5r.net Git - openldap/blob - servers/slapd/back-bdb2/txn.h
a0d060e050e8b1f2a9ffd6cd0ad52be72d1cc3fe
[openldap] / servers / slapd / back-bdb2 / txn.h
1 /* txn.h - Header for TP support functions of the bdb2 backend */
2
3 #ifndef _BDB2_TXN_H_
4 #define _BDB2_TXN_H_
5
6 #include "portable.h"
7
8 #include <stdio.h>
9 #include <sys/time.h>
10 #include <unistd.h>
11 #include <sys/stat.h>
12 #include <dirent.h>
13
14 #include <ac/string.h>
15 #include <ac/socket.h>
16 #include <ac/signal.h>
17
18 #include "ldapconfig.h"
19 #include "slap.h"
20 #include "back-bdb2.h"
21
22
23
24 #define  BDB2_TXN_CHKP_MAX_CNT     20                   /*  checkpoint every
25                                                             20 transactions */
26 #define  BDB2_TXN_CHKP_MAX_TIME    600                  /*  checkpoint after
27                                                             600 seconds     */
28
29
30 char  *bdb2i_fixed_filenames[] = {
31
32                 "dn", "dn2id", "id2entry", "id2children", "objectclass"
33
34         };
35
36
37 #endif  /*  _BDB2_TXN_H_  */
38