resolver: add c-ares support

This patch based on the patch from @gbour (see #7). With
--enable-cares old implementation will be replaced with c-ares API.
This commit is contained in:
Dmitry Podgorny
2019-10-14 06:51:08 +03:00
parent 18b67d6eaf
commit a13847d994
5 changed files with 310 additions and 103 deletions

View File

@@ -33,6 +33,9 @@ typedef struct resolver_srv_rr_struc {
struct resolver_srv_rr_struc *next;
} resolver_srv_rr_t;
void resolver_initialize(void);
void resolver_shutdown(void);
/** Perform lookup for RFC1035 message format.
* This function allocates all elements.
*