Searched defs:dnsfns (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-dns.c81 struct ldap_dns_fns dnsfns; local
83 memset( &dnsfns, '\0', sizeof(struct ldap_dns_fns) );
84 dnsfns.lddnsfn_bufsize = PR_NETDB_BUF_SIZE;
85 dnsfns.lddnsfn_gethostbyname = prldap_gethostbyname;
86 dnsfns.lddnsfn_gethostbyaddr = prldap_gethostbyaddr;
87 dnsfns.lddnsfn_getpeername = prldap_getpeername;
88 if ( ldap_set_option( ld, LDAP_OPT_DNS_FN_PTRS, (void *)&dnsfns ) != 0 ) {

Completed in 56 milliseconds