Home
last modified time | relevance | path

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

/netbsd/external/bsd/openldap/dist/libraries/libldap/
H A Ddnssrv.c260 srv_record *hostent_head=NULL; in ldap_domain2hostlist() local
352 hostent_head = (srv_record *) LDAP_REALLOC(hostent_head, (hostent_count+1)*(sizeof(srv_record))); in ldap_domain2hostlist()
353 if(hostent_head==NULL){ in ldap_domain2hostlist()
367 if (!hostent_head) goto out; in ldap_domain2hostlist()
375 priority = hostent_head[0].priority; in ldap_domain2hostlist()
378 priority = hostent_head[i].priority; in ldap_domain2hostlist()
380 srv_shuffle(hostent_head+j, i-j); in ldap_domain2hostlist()
385 srv_shuffle(hostent_head+j, i-j); in ldap_domain2hostlist()
398 cur += sprintf(&hostlist[cur], "%s:%hu", hostent_head[i].hostname, hostent_head[i].port); in ldap_domain2hostlist()
417 if (hostent_head != NULL) { in ldap_domain2hostlist()
[all …]