]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/overlays/overlays.c
Fix void* pointer arithmetic from ber_bvchr()
[openldap] / servers / slapd / overlays / overlays.c
index e83bf7a152ee396459a7125b01f4088e7a383fd8..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
@@ -47,6 +50,9 @@ extern int pcache_init();
 #if SLAPD_OVER_REFINT == SLAPD_MOD_STATIC
 extern int refint_init();
 #endif
+#if SLAPD_OVER_RETCODE == SLAPD_MOD_STATIC
+extern int retcode_init();
+#endif
 #if SLAPD_OVER_RWM == SLAPD_MOD_STATIC
 extern int rwm_init();
 #endif
@@ -59,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
@@ -88,6 +100,9 @@ static struct {
 #if SLAPD_OVER_REFINT == SLAPD_MOD_STATIC
        { "Referential Integrity", refint_init },
 #endif
+#if SLAPD_OVER_RETCODE == SLAPD_MOD_STATIC
+       { "Return Code", retcode_init },
+#endif
 #if SLAPD_OVER_RWM == SLAPD_MOD_STATIC
        { "Rewrite/Remap", rwm_init },
 #endif
@@ -99,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 }
 };