]> git.sur5r.net Git - openldap/blob - servers/slapd/back-bdb2/txn.h
Add ac/errno.h and use other generic headers when available.
[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/stat.h>
10 #include <dirent.h>
11
12 #include <ac/errno.h>
13 #include <ac/signal.h>
14 #include <ac/socket.h>
15 #include <ac/string.h>
16 #include <ac/time.h>
17 #include <ac/unistd.h>
18
19 #include "ldapconfig.h"
20 #include "slap.h"
21 #include "back-bdb2.h"
22
23
24
25 #define  BDB2_TXN_CHKP_MAX_CNT     20                   /*  checkpoint every
26                                                             20 transactions */
27 #define  BDB2_TXN_CHKP_MAX_TIME    600                  /*  checkpoint after
28                                                             600 seconds     */
29
30
31 char  *bdb2i_fixed_filenames[] = {
32
33                 "dn", "dn2id", "id2entry", "id2children", "objectclass"
34
35         };
36
37
38 #endif  /*  _BDB2_TXN_H_  */
39