]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/overlays/overlays.c
ITS#4134 additional fix
[openldap] / servers / slapd / overlays / overlays.c
index 6c3b81ad09cda529d48f19d87c76f1d52506155b..0f46ae2cf2841b44c02a02ea610cfba2aa01f02d 100644 (file)
@@ -23,6 +23,9 @@
 
 #include "slap.h"
 
+#if SLAPD_OVER_ACCESSLOG == SLAPD_MOD_STATIC
+extern int accesslog_init();
+#endif
 #if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC
 extern int denyop_init();
 #endif
@@ -62,11 +65,17 @@ extern int translucent_init();
 #if SLAPD_OVER_UNIQUE == SLAPD_MOD_STATIC
 extern int unique_init();
 #endif
+#if SLAPD_OVER_VALSORT == SLAPD_MOD_STATIC
+extern int valsort_init();
+#endif
 
 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
@@ -105,6 +114,9 @@ static struct {
 #endif
 #if SLAPD_OVER_UNIQUE == SLAPD_MOD_STATIC
        { "Attribute Uniqueness", unique_init },
+#endif
+#if SLAPD_OVER_VALSORT == SLAPD_MOD_STATIC
+       { "Value Sorting", valsort_init },
 #endif
        { NULL, NULL }
 };