Lines Matching refs:handle
375 dns_handle_t handle; in PHP_FUNCTION() local
378 struct __res_state *handle = &state; in PHP_FUNCTION() local
413 handle = dns_open(NULL); in PHP_FUNCTION()
414 if (handle == NULL) { in PHP_FUNCTION()
419 if (res_ninit(handle)) { in PHP_FUNCTION()
426 i = php_dns_search(handle, hostname, C_IN, type, answer.qb2, sizeof answer); in PHP_FUNCTION()
427 php_dns_free_handle(handle); in PHP_FUNCTION()
816 dns_handle_t handle; in PHP_FUNCTION() local
819 struct __res_state *handle = &state; in PHP_FUNCTION() local
943 handle = dns_open(NULL); in PHP_FUNCTION()
944 if (handle == NULL) { in PHP_FUNCTION()
950 if (res_ninit(handle)) { in PHP_FUNCTION()
958 n = php_dns_search(handle, hostname, C_IN, type_to_fetch, answer.qb2, sizeof answer); in PHP_FUNCTION()
961 dns_errno = php_dns_errno(handle); in PHP_FUNCTION()
962 php_dns_free_handle(handle); in PHP_FUNCTION()
997 php_dns_free_handle(handle); in PHP_FUNCTION()
1038 php_dns_free_handle(handle); in PHP_FUNCTION()
1060 dns_handle_t handle; in PHP_FUNCTION() local
1063 struct __res_state *handle = &state; in PHP_FUNCTION() local
1086 handle = dns_open(NULL); in PHP_FUNCTION()
1087 if (handle == NULL) { in PHP_FUNCTION()
1092 if (res_ninit(handle)) { in PHP_FUNCTION()
1099 i = php_dns_search(handle, hostname, C_IN, DNS_T_MX, answer.qb2, sizeof(answer)); in PHP_FUNCTION()
1101 php_dns_free_handle(handle); in PHP_FUNCTION()
1109 php_dns_free_handle(handle); in PHP_FUNCTION()
1116 php_dns_free_handle(handle); in PHP_FUNCTION()
1129 php_dns_free_handle(handle); in PHP_FUNCTION()
1138 php_dns_free_handle(handle); in PHP_FUNCTION()