]> git.sur5r.net Git - openldap/commitdiff
Add static build for accesslog
authorHoward Chu <hyc@openldap.org>
Mon, 1 Aug 2005 22:02:23 +0000 (22:02 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 1 Aug 2005 22:02:23 +0000 (22:02 +0000)
servers/slapd/overlays/overlays.c

index 6c3b81ad09cda529d48f19d87c76f1d52506155b..656fb33396a5cd2e30c9c85e0972eb973ab0ddd1 100644 (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