Lines Matching refs:lud_host

625 	if ( u->lud_host && u->lud_host[0] ) {  in desc2str_len()
627 len += hex_escape_len( u->lud_host, URLESC_SLASH ); in desc2str_len()
628 if ( !is_ipc && ( ptr = strchr( u->lud_host, ':' ))) { in desc2str_len()
676 if ( !is_ipc && u->lud_host && ( ptr = strchr( u->lud_host, ':' ))) { in desc2str()
684 u->lud_host ? u->lud_host : "", in desc2str()
692 if ( u->lud_host && u->lud_host[0] ) { in desc2str()
697 i = hex_escape( &s[sofar], len, u->lud_host, URLESC_SLASH ); in desc2str()
894 ludp->lud_host = NULL; in ldap_url_parse_ext()
988 ludp->lud_host = LDAP_STRDUP( url + is_v6 ); in ldap_url_parse_ext()
990 if( ludp->lud_host == NULL ) { in ldap_url_parse_ext()
997 && ludp->lud_host != NULL in ldap_url_parse_ext()
998 && *ludp->lud_host == '\0' ) in ldap_url_parse_ext()
1000 LDAP_FREE( ludp->lud_host ); in ldap_url_parse_ext()
1001 ludp->lud_host = NULL; in ldap_url_parse_ext()
1229 dest->lud_host = NULL; in ldap_url_dup()
1244 if ( ludp->lud_host != NULL ) { in ldap_url_dup()
1245 dest->lud_host = LDAP_STRDUP( ludp->lud_host ); in ldap_url_dup()
1246 if (dest->lud_host == NULL) { in ldap_url_dup()
1392 ludp->lud_host = specs[i]; in ldap_url_parsehosts()
1394 p = strchr(ludp->lud_host, ':'); in ldap_url_parsehosts()
1399 if ( *ludp->lud_host == '[' ) { in ldap_url_parsehosts()
1400 p = LDAP_STRDUP(ludp->lud_host+1); in ldap_url_parsehosts()
1402 specs[i] = ludp->lud_host; in ldap_url_parsehosts()
1403 ludp->lud_host = p; in ldap_url_parsehosts()
1404 p = strchr( ludp->lud_host, ']' ); in ldap_url_parsehosts()
1436 ldap_pvt_hex_unescape(ludp->lud_host); in ldap_url_parsehosts()
1461 if ( ludp->lud_host == NULL ) continue; in ldap_url_list2hosts()
1462 size += strlen(ludp->lud_host) + 1; /* host and space */ in ldap_url_list2hosts()
1463 if (strchr(ludp->lud_host, ':')) /* will add [ ] below */ in ldap_url_list2hosts()
1474 if ( ludp->lud_host == NULL ) continue; in ldap_url_list2hosts()
1475 if (strchr(ludp->lud_host, ':')) { in ldap_url_list2hosts()
1476 p += sprintf(p, "[%s]", ludp->lud_host); in ldap_url_list2hosts()
1478 strcpy(p, ludp->lud_host); in ldap_url_list2hosts()
1479 p += strlen(ludp->lud_host); in ldap_url_list2hosts()
1564 if ( ludp->lud_host != NULL ) { in ldap_free_urldesc()
1565 LDAP_FREE( ludp->lud_host ); in ldap_free_urldesc()