Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcontrol.c128 LDAPControl *newctrl; in nsldapi_get_controls() local
196 if (( newctrl = (struct ldapcontrol *)NSLDAPI_CALLOC( 1, in nsldapi_get_controls()
202 (*controlsp)[curcontrols++] = newctrl; in nsldapi_get_controls()
205 if ( ber_scanf( ber, "{a", &newctrl->ldctl_oid ) in nsldapi_get_controls()
219 newctrl->ldctl_iscritical = (char)aint; /* XXX lossy cast */ in nsldapi_get_controls()
222 newctrl->ldctl_iscritical = 0; in nsldapi_get_controls()
227 if ( ber_scanf( ber, "o", &newctrl->ldctl_value ) in nsldapi_get_controls()
233 (newctrl->ldctl_value).bv_val = NULL; in nsldapi_get_controls()
234 (newctrl->ldctl_value).bv_len = 0; in nsldapi_get_controls()