Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libldap5/sources/ldap/common/
H A Dcontrol.c25 static int ldap_control_copy_contents( LDAPControl *ctrl_dst,
405 ldap_control_copy_contents( LDAPControl *ctrl_dst, LDAPControl *ctrl_src ) in ldap_control_copy_contents() argument
409 if ( NULL == ctrl_dst || NULL == ctrl_src ) { in ldap_control_copy_contents()
413 ctrl_dst->ldctl_iscritical = ctrl_src->ldctl_iscritical; in ldap_control_copy_contents()
416 if (( ctrl_dst->ldctl_oid = nsldapi_strdup( ctrl_src->ldctl_oid )) in ldap_control_copy_contents()
423 ctrl_dst->ldctl_value.bv_len = 0; in ldap_control_copy_contents()
424 ctrl_dst->ldctl_value.bv_val = NULL; in ldap_control_copy_contents()
426 ctrl_dst->ldctl_value.bv_len = len; in ldap_control_copy_contents()
427 if (( ctrl_dst->ldctl_value.bv_val = NSLDAPI_MALLOC( len )) in ldap_control_copy_contents()
429 NSLDAPI_FREE( ctrl_dst->ldctl_oid ); in ldap_control_copy_contents()
[all …]