Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dsetoption.c299 matched = nsldapi_strdup(matched); in ldap_set_option()
300 errstr = nsldapi_strdup(errstr); in ldap_set_option()
306 matched = nsldapi_strdup(matched); in ldap_set_option()
308 nsldapi_strdup((char *)optdata)); in ldap_set_option()
314 errstr = nsldapi_strdup(errstr); in ldap_set_option()
316 nsldapi_strdup((char *)optdata), errstr); in ldap_set_option()
324 ld->ld_preferred_language = nsldapi_strdup((char *)optdata); in ldap_set_option()
331 ld->ld_defhost = nsldapi_strdup((char *)optdata); in ldap_set_option()
351 ld->ld_def_sasl_mech = nsldapi_strdup((char *)optdata); in ldap_set_option()
357 ld->ld_def_sasl_realm = nsldapi_strdup((char *)optdata); in ldap_set_option()
[all …]
H A Dgetoption.c241 *((char **) optdata) = nsldapi_strdup( *((char **) optdata )); in ldap_get_option()
246 *((char **) optdata) = nsldapi_strdup( *((char **) optdata )); in ldap_get_option()
252 nsldapi_strdup(ld->ld_preferred_language); in ldap_get_option()
267 *((char **) optdata) = nsldapi_strdup( ld->ld_defhost ); in ldap_get_option()
277 *((char **) optdata) = nsldapi_strdup(ld->ld_def_sasl_mech); in ldap_get_option()
280 *((char **) optdata) = nsldapi_strdup(ld->ld_def_sasl_realm); in ldap_get_option()
283 *((char **) optdata) = nsldapi_strdup(ld->ld_def_sasl_authcid); in ldap_get_option()
286 *((char **) optdata) = nsldapi_strdup(ld->ld_def_sasl_authzid); in ldap_get_option()
390 if (( aip->ldapai_vendor_name = nsldapi_strdup( LDAP_VENDOR_NAME )) in nsldapi_get_api_info()
406 if (( aip->ldapai_extensions[i] = nsldapi_strdup( in nsldapi_get_api_info()
H A Dgetdn.c87 return( nsldapi_strdup( (char *)dn )); in ldap_dn2ufn()
89 ufn = nsldapi_strdup( ++p ); in ldap_dn2ufn()
175 cpydn = nsldapi_strdup( (char *)dn ); in ldap_explode_dns()
186 rdns[ncomps++] = nsldapi_strdup( s ); in ldap_explode_dns()
H A Dopen.c509 ( ld->ld_defhost = nsldapi_strdup( defhost )) == NULL ) || in ldap_init()
594 nsldapi_strdup( ld->ld_defhost )) == NULL )) { in nsldapi_open_ldap_defconn()
642 *hostp = nsldapi_strdup( "127.0.0.1" ); in ldap_x_hostlist_first()
655 (*statusp)->lhs_hostlist = nsldapi_strdup( hostlist ); in ldap_x_hostlist_first()
706 *hostp = nsldapi_strdup( status->lhs_nexthost ); in ldap_x_hostlist_next()
792 nsldapi_strdup( const char *s ) in nsldapi_strdup() function
H A Dfriendly.c109 (*map)[i].f_unfriendly = nsldapi_strdup( buf ); in ldap_friendly_name()
110 (*map)[i].f_friendly = nsldapi_strdup( s ); in ldap_friendly_name()
H A Dcharray.c159 new[i] = nsldapi_strdup( a[i] ); in ldap_charray_dup()
204 res[i++] = nsldapi_strdup( s ); in ldap_str2charray()
H A Dgetfilter.c139 nextflp->lfl_tag = nsldapi_strdup( tag ); in ldap_init_getfilter_buf()
234 lfdp->lfd_filtprefix = ( prefix == NULL ) ? NULL : nsldapi_strdup( prefix ); in ldap_set_filter_additions()
239 lfdp->lfd_filtsuffix = ( suffix == NULL ) ? NULL : nsldapi_strdup( suffix ); in ldap_set_filter_additions()
287 if (( lfdp->lfd_curvalcopy = nsldapi_strdup( value )) == NULL ) { in ldap_getfirstfilter()
H A Dsasl.c725 return( nsldapi_sasl_cvterrno( ld, saslrc, nsldapi_strdup( sasl_errdetail( ctx ) ) ) ); in nsldapi_sasl_do_bind()
768 NULL, nsldapi_strdup( dgettext(TEXT_DOMAIN, in nsldapi_sasl_do_bind()
800 return( nsldapi_sasl_cvterrno( ld, saslrc, nsldapi_strdup( sasl_errdetail( ctx ) ) ) ); in nsldapi_sasl_do_bind()
809 return( nsldapi_sasl_cvterrno( ld, saslrc, nsldapi_strdup( sasl_errdetail( ctx ) ) ) ); in nsldapi_sasl_do_bind()
923 inp = nsldapi_strdup(in); in nsldapi_sasl_secprops()
H A Dcontrol.c416 if (( ctrl_dst->ldctl_oid = nsldapi_strdup( ctrl_src->ldctl_oid )) in ldap_control_copy_contents()
475 if (( (*ctrlp)->ldctl_oid = nsldapi_strdup( oid )) == NULL ) { in nsldapi_build_control()
H A Ddsparse.c200 return( nsldapi_strdup( tokstart )); in next_token()
H A Drequest.c237 nsldapi_strdup( bindreqdn )) == NULL )) { in nsldapi_send_server_request()
1003 nsldapi_strdup( origreq->lr_conn->lconn_server->lsrv_host ); in chase_one_referral()
1009 srv->lsrv_host = nsldapi_strdup(ludp->lud_host); in chase_one_referral()
1330 if (( srv->lsrv_host = nsldapi_strdup( host )) == NULL in dn2servers()
1332 nsldapi_strdup( server_dn )) == NULL )) { in dn2servers()
H A Dufn.c163 dns[0] = nsldapi_strdup( prefix ); in ldap_ufn_search_ctx()
523 ld->ld_ufnprefix = nsldapi_strdup( prefix ); in ldap_ufn_setprefix()
H A Dgetdxbyname.c103 ( dxs[ 0 ] = nsldapi_strdup( domain )) == NULL ) { in nsldapi_getdxbyname()
H A Durl.c211 if (( urlcopy = nsldapi_strdup( url )) == NULL ) { in nsldapi_url_parse()
442 ( srv->lsrv_host = nsldapi_strdup( host )) == NULL )) { in ldap_url_search()
H A Derror.c522 *matchednp = nsldapi_strdup( m ); in ldap_parse_result()
525 *errmsgp = nsldapi_strdup( e ); in ldap_parse_result()
H A Dsearch.c350 fdup = nsldapi_strdup( filter ); in nsldapi_build_search_req()
680 if (( str = nsldapi_strdup( str )) == NULL ) { in put_simple_filter()
H A Ddisptmpl.c414 nsldapi_strdup( includeattrs[ i ] )) == NULL ) { in ldap_tmplattrs()
441 nsldapi_strdup( ticolp->ti_attrname )) == NULL ) { in ldap_tmplattrs()
H A Dos-ip.c203 nsldapi_strdup( dgettext(TEXT_DOMAIN, in nsldapi_os_socket()
231 errmsg = nsldapi_strdup( errmsg ); in nsldapi_os_socket()
772 return( nsldapi_strdup( hp->h_name ));
1651 nsldapi_strdup( errmsg ));
H A Dgetvalues.c369 *type = nsldapi_strdup( target ); in internal_ldap_get_lang_values()
H A Dmemcache.c310 (*cachep)->ldmemc_basedns[i] = nsldapi_strdup(baseDNs[i]); in ldap_memcache_init()
612 tmpbase = nsldapi_strdup(NSLDAPI_STR_NONNULL(base)); in ldap_memcache_createkey()
1441 pRes->ldmemcr_basedn = (basedn ? nsldapi_strdup(basedn) : NULL);
H A Dldap-int.h681 char *nsldapi_strdup( const char *s ); /* if s is NULL, returns NULL */
H A Dresult.c320 nsldapi_strdup( dgettext(TEXT_DOMAIN,
/titanic_41/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c391 char *nsldapi_strdup(char *); in prldap_connect()
442 hostname = nsldapi_strdup(host); in prldap_connect()