Home
last modified time | relevance | path

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

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