openldap/servers/slapd/back-bdb2/txn.h
Kurt Spanier d92b9d3c9e Introduction of a new Berkeley DB version 2 (!) specific backend.
BEWARE: the backend will be compiled.
        the backend will NOT be invoked, yet.
        the backend CANNOT be invoked, yet, because it is NOT yet
            integrated into the new initialization/startup environment
            of the slapd server.
1999-02-05 16:23:03 +00:00

38 lines
820 B
C

/* txn.h - Header for TP support functions of the bdb2 backend */
#ifndef _BDB2_TXN_H_
#define _BDB2_TXN_H_
#include "portable.h"
#include <stdio.h>
#include <sys/time.h>
#include <unistd.h>
#include <sys/stat.h>
#include <dirent.h>
#include <ac/string.h>
#include <ac/socket.h>
#include <ac/signal.h>
#include "ldapconfig.h"
#include "slap.h"
#include "back-bdb2.h"
#define BDB2_TXN_CHKP_MAX_CNT 20 /* checkpoint every
20 transactions */
#define BDB2_TXN_CHKP_MAX_TIME 600 /* checkpoint after
600 seconds */
char *bdb2i_fixed_filenames[] = {
"dn", "dn2id", "id2entry", "id2children", "objectclass"
};
#endif /* _BDB2_TXN_H_ */