mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Add static build for accesslog
This commit is contained in:
parent
12d006d17d
commit
91ea3a113a
@ -23,6 +23,9 @@
|
|||||||
|
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
|
|
||||||
|
#if SLAPD_OVER_ACCESSLOG == SLAPD_MOD_STATIC
|
||||||
|
extern int acceslog_init();
|
||||||
|
#endif
|
||||||
#if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC
|
#if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC
|
||||||
extern int denyop_init();
|
extern int denyop_init();
|
||||||
#endif
|
#endif
|
||||||
@ -67,6 +70,9 @@ static struct {
|
|||||||
char *name;
|
char *name;
|
||||||
int (*func)();
|
int (*func)();
|
||||||
} funcs[] = {
|
} funcs[] = {
|
||||||
|
#if SLAPD_OVER_ACCESSLOG == SLAPD_MOD_STATIC
|
||||||
|
{ "Access Log", accesslog_init },
|
||||||
|
#endif
|
||||||
#if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC
|
#if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC
|
||||||
{ "Deny Operation", denyop_init },
|
{ "Deny Operation", denyop_init },
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user