From: Kurt Zeilenga Date: Fri, 3 Jun 2005 20:54:06 +0000 (+0000) Subject: Place manageDIT behind LDAP_DEVEL (not for initial 2.3 release) X-Git-Tag: OPENLDAP_AC_BP~577 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8ef743309b8ffea471dbd41cd8e70de85d220b35;p=openldap Place manageDIT behind LDAP_DEVEL (not for initial 2.3 release) --- diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index 7360e06fcb..5699329c6e 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -28,7 +28,9 @@ static SLAP_CTRL_PARSE_FN parseAssert; static SLAP_CTRL_PARSE_FN parsePreRead; static SLAP_CTRL_PARSE_FN parsePostRead; static SLAP_CTRL_PARSE_FN parseProxyAuthz; +#ifdef LDAP_DEVEL static SLAP_CTRL_PARSE_FN parseManageDIT; +#endif static SLAP_CTRL_PARSE_FN parseManageDSAit; static SLAP_CTRL_PARSE_FN parseModifyIncrement; static SLAP_CTRL_PARSE_FN parseNoOp; @@ -162,10 +164,12 @@ static struct slap_control control_defs[] = { SLAP_CTRL_HIDE|SLAP_CTRL_MODIFY, NULL, parseModifyIncrement, LDAP_SLIST_ENTRY_INITIALIZER(next) }, #endif +#ifdef LDAP_DEVEL { LDAP_CONTROL_MANAGEDIT, (int)offsetof(struct slap_control_ids, sc_manageDIT), SLAP_CTRL_GLOBAL|SLAP_CTRL_UPDATE, NULL, parseManageDIT, LDAP_SLIST_ENTRY_INITIALIZER(next) }, +#endif { LDAP_CONTROL_MANAGEDSAIT, (int)offsetof(struct slap_control_ids, sc_manageDSAit), SLAP_CTRL_ACCESS, NULL, @@ -715,6 +719,7 @@ static int parseModifyIncrement ( return LDAP_SUCCESS; } +#ifdef LDAP_DEVEL static int parseManageDIT ( Operation *op, SlapReply *rs, @@ -736,6 +741,7 @@ static int parseManageDIT ( return LDAP_SUCCESS; } +#endif static int parseManageDSAit ( Operation *op,