Lines Matching refs:status
678 int status;
709 state->status = ares_gethostbyname_file(state->resolv_ctx->channel,
713 if (state->status == ARES_SUCCESS) {
719 } else if (state->status == ARES_ENOTFOUND ||
720 state->status == ARES_ENODATA) {
726 tevent_req_error(req, return_code(state->status));
739 int *status, struct resolv_hostent **rhostent)
744 /* Fill in even in case of error as status contains the
746 if (status) {
747 *status = state->status;
771 int status;
782 resolv_gethostbyname_dns_query_done(void *arg, int status, int timeouts,
786 int status, unsigned char *abuf, int alen);
812 state->status = 0;
878 resolv_gethostbyname_dns_query_done(void *arg, int status, int timeouts,
899 state->status = status;
905 if (state->retrying == 0 && status == ARES_EDESTRUCTION
912 if (status == ARES_ENOTFOUND || status == ARES_ENODATA) {
919 if (status != ARES_SUCCESS) {
923 tevent_req_error(req, return_code(status));
927 ret = resolv_gethostbyname_dns_parse(state, status, abuf, alen);
938 int status, unsigned char *abuf, int alen)
957 status = ares_parse_a_reply(abuf, alen, &hostent,
970 status = ares_parse_aaaa_reply(abuf, alen, &hostent,
1000 return return_code(status);
1009 int *status, int *timeouts,
1015 /* Fill in even in case of error as status contains the
1017 if (status) {
1018 *status = state->status;
1055 int status;
1098 state->status = 0;
1323 &state->status,
1330 &state->status, &state->timeouts,
1356 state->status = ARES_ETIMEOUT;
1371 int *status, int *timeouts,
1376 /* Fill in even in case of error as status contains the
1378 if (status) {
1379 *status = state->status;
1568 int status;
1604 state->status = 0;
1708 resolv_getsrv_done(void *arg, int status, int timeouts, unsigned char *abuf, int alen)
1728 if (state->retrying == 0 && status == ARES_EDESTRUCTION
1735 state->status = status;
1738 if (status != ARES_SUCCESS) {
1739 ret = return_code(status);
1771 resolv_getsrv_recv(TALLOC_CTX *mem_ctx, struct tevent_req *req, int *status,
1777 if (status)
1778 *status = state->status;
1907 int status;
1942 state->status = 0;
1960 resolv_gettxt_done(void *arg, int status, int timeouts, unsigned char *abuf, int alen)
1979 if (state->retrying == 0 && status == ARES_EDESTRUCTION
1987 state->status = status;
1990 if (status != ARES_SUCCESS) {
1991 ret = return_code(status);
1996 if (status != ARES_SUCCESS) {
2017 resolv_gettxt_recv(TALLOC_CTX *mem_ctx, struct tevent_req *req, int *status,
2022 if (status)
2023 *status = state->status;