]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/ldapsync.c
declare overlays_init()
[openldap] / servers / slapd / ldapsync.c
index 699fe8f66f97783c452846f929fc4f8b1dd37644..7241f1318e862d017c624cf71ea0ad08fb269d4f 100644 (file)
 #include "../../libraries/liblber/lber-int.h" /* get ber_strndup() */
 #include "lutil_ldap.h"
 
+#if 0
+struct sync_cookie *slap_sync_cookie = NULL;
+#else
+struct slap_sync_cookie_s slap_sync_cookie =
+       LDAP_STAILQ_HEAD_INITIALIZER( slap_sync_cookie );
+#endif
+
 int
 slap_build_sync_state_ctrl(
        Operation       *op,