mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 16:34:45 -05:00
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.
38 lines
820 B
C
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_ */
|
|
|