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

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcontrol.c130 LDAPControl *newctrl; local
198 if (( newctrl = (struct ldapcontrol *)NSLDAPI_CALLOC( 1,
204 (*controlsp)[curcontrols++] = newctrl;
207 if ( ber_scanf( ber, "{a", &newctrl->ldctl_oid )
221 newctrl->ldctl_iscritical = (char)aint; /* XXX lossy cast */
224 newctrl->ldctl_iscritical = 0;
229 if ( ber_scanf( ber, "o", &newctrl->ldctl_value )
235 (newctrl->ldctl_value).bv_val = NULL;
236 (newctrl->ldctl_value).bv_len = 0;

Completed in 43 milliseconds