Searched refs:dnsfns (Results 1 – 1 of 1) sorted by relevance
81 struct ldap_dns_fns dnsfns; in prldap_install_dns_functions() local83 memset( &dnsfns, '\0', sizeof(struct ldap_dns_fns) ); in prldap_install_dns_functions()84 dnsfns.lddnsfn_bufsize = PR_NETDB_BUF_SIZE; in prldap_install_dns_functions()85 dnsfns.lddnsfn_gethostbyname = prldap_gethostbyname; in prldap_install_dns_functions()86 dnsfns.lddnsfn_gethostbyaddr = prldap_gethostbyaddr; in prldap_install_dns_functions()87 dnsfns.lddnsfn_getpeername = prldap_getpeername; in prldap_install_dns_functions()88 if ( ldap_set_option( ld, LDAP_OPT_DNS_FN_PTRS, (void *)&dnsfns ) != 0 ) { in prldap_install_dns_functions()