static struct slap_control control_defs[] = {
{ LDAP_CONTROL_VALUESRETURNFILTER,
SLAP_CTRL_SEARCH, NULL,
- parseValuesReturnFilter, NULL },
+ parseValuesReturnFilter, LDAP_SLIST_NEXT_INITIALIZER(next) },
#ifdef LDAP_CONTROL_PAGEDRESULTS
{ LDAP_CONTROL_PAGEDRESULTS,
SLAP_CTRL_SEARCH, NULL,
- parsePagedResults, NULL },
+ parsePagedResults, LDAP_SLIST_NEXT_INITIALIZER(next) },
#endif
#ifdef LDAP_CONTROL_X_DOMAIN_SCOPE
{ LDAP_CONTROL_X_DOMAIN_SCOPE,
SLAP_CTRL_FRONTEND|SLAP_CTRL_SEARCH, NULL,
- parseDomainScope, NULL },
+ parseDomainScope, LDAP_SLIST_NEXT_INITIALIZER(next) },
#endif
#ifdef LDAP_CONTROL_X_PERMISSIVE_MODIFY
{ LDAP_CONTROL_X_PERMISSIVE_MODIFY,
SLAP_CTRL_MODIFY, NULL,
- parsePermissiveModify, NULL },
+ parsePermissiveModify, LDAP_SLIST_NEXT_INITIALIZER(next) },
#endif
#ifdef LDAP_CONTROL_SUBENTRIES
{ LDAP_CONTROL_SUBENTRIES,
SLAP_CTRL_SEARCH, NULL,
- parseSubentries, NULL },
+ parseSubentries, LDAP_SLIST_NEXT_INITIALIZER(next) },
#endif
{ LDAP_CONTROL_NOOP,
SLAP_CTRL_ACCESS, NULL,
- parseNoOp, NULL },
+ parseNoOp, LDAP_SLIST_NEXT_INITIALIZER(next) },
#ifdef LDAP_CLIENT_UPDATE
{ LDAP_CONTROL_CLIENT_UPDATE,
SLAP_CTRL_SEARCH, NULL,
- parseClientUpdate, NULL },
+ parseClientUpdate, LDAP_SLIST_NEXT_INITIALIZER(next) },
#endif
#ifdef LDAP_SYNC
{ LDAP_CONTROL_SYNC,
SLAP_CTRL_SEARCH, NULL,
- parseLdupSync, NULL },
+ parseLdupSync, LDAP_SLIST_NEXT_INITIALIZER(next) },
#endif
{ LDAP_CONTROL_MANAGEDSAIT,
SLAP_CTRL_ACCESS, NULL,
- parseManageDSAit, NULL },
+ parseManageDSAit, LDAP_SLIST_NEXT_INITIALIZER(next) },
{ LDAP_CONTROL_PROXY_AUTHZ,
SLAP_CTRL_FRONTEND|SLAP_CTRL_ACCESS, proxy_authz_extops,
- parseProxyAuthz, NULL },
- { NULL, 0, NULL, 0, NULL }
+ parseProxyAuthz, LDAP_SLIST_NEXT_INITIALIZER(next) },
+ { NULL, 0, NULL, 0, LDAP_SLIST_NEXT_INITIALIZER(next) }
};
/*