Add static build for accesslog

This commit is contained in:
Howard Chu 2005-08-01 22:02:23 +00:00
parent 12d006d17d
commit 91ea3a113a

View File

@ -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