Searched refs:newctrls (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/libldap4/common/
H A Dcontrols.c101 LDAPControl **newctrls; local
104 newctrls = (LDAPControl **)calloc(i+1, sizeof(LDAPControl*));
105 if (newctrls == NULL) {
110 newctrls[i] = ldap_control_dup(ctrls[i]);
111 if (newctrls[i] == NULL) {
112 ldap_controls_free(newctrls);
116 return (newctrls);
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dcontrol.c334 * Replace *ldctrls with a copy of newctrls.
339 nsldapi_dup_controls( LDAP *ld, LDAPControl ***ldctrls, LDAPControl **newctrls )
347 if ( newctrls == NULL || newctrls[0] == NULL ) {
352 for ( count = 0; newctrls[ count ] != NULL; ++count ) {
363 for ( count = 0; newctrls[ count ] != NULL; ++count ) {
365 ldap_control_dup( newctrls[ count ] )) == NULL ) {
H A Dldap-int.h793 LDAPControl **newctrls );

Completed in 19 milliseconds