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