diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2022-01-12 15:55:57 +0900 |
---|---|---|
committer | Seonah Moon <seonah1.moon@samsung.com> | 2022-01-12 15:55:57 +0900 |
commit | 6c5282d154e7f4423b6bfdbbb9e4318f2fcb47bf (patch) | |
tree | 8a7b776eed444cb0040de9d3f490e80675f5daaa /include/ares.h | |
parent | a3808d2c148f36c332625d958a80b7380de9d3a2 (diff) | |
parent | 450be02682da219c984870e56ac2c3098efbe68a (diff) | |
download | c-ares-tizen_7.0_base_hotfix.tar.gz c-ares-tizen_7.0_base_hotfix.tar.bz2 c-ares-tizen_7.0_base_hotfix.zip |
Upgrade to 1.18.1tizen_9.0_m2_releasetizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen_base/20220112.070418accepted/tizen/base/dev/20230602.080931accepted/tizen/base/20221115.103841accepted/tizen/base/20220116.220755accepted/tizen/9.0/base/20241030.075733accepted/tizen/8.0/base/20231005.044622accepted/tizen/7.0/base/hotfix/20221116.055416accepted/tizen/7.0/base/20221116.030007tizen_basetizen_9.0_basetizen_8.0_basetizen_7.0_base_hotfixaccepted/tizen_base_devaccepted/tizen_baseaccepted/tizen_9.0_baseaccepted/tizen_8.0_baseaccepted/tizen_7.0_base_hotfix
Change-Id: I78d0446c9b8a29e5a5acd91c5399bc89736ca168
Diffstat (limited to 'include/ares.h')
-rw-r--r-- | include/ares.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/ares.h b/include/ares.h index 70a1baf..cf8a855 100644 --- a/include/ares.h +++ b/include/ares.h @@ -39,7 +39,7 @@ #if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \ defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \ defined(ANDROID) || defined(__ANDROID__) || defined(__OpenBSD__) || \ - defined(__QNXNTO__) + defined(__QNXNTO__) || defined(__MVS__) || defined(__HAIKU__) #include <sys/select.h> #endif #if (defined(NETWARE) && !defined(__NOVELL_LIBC__)) @@ -588,6 +588,14 @@ struct ares_soa_reply { unsigned int minttl; }; +struct ares_uri_reply { + struct ares_uri_reply *next; + unsigned short priority; + unsigned short weight; + char *uri; + int ttl; +}; + /* * Similar to addrinfo, but with extra ttl and missing canonname. */ @@ -617,6 +625,7 @@ struct ares_addrinfo_cname { struct ares_addrinfo { struct ares_addrinfo_cname *cnames; struct ares_addrinfo_node *nodes; + char *name; }; struct ares_addrinfo_hints { @@ -685,6 +694,10 @@ CARES_EXTERN int ares_parse_soa_reply(const unsigned char* abuf, int alen, struct ares_soa_reply** soa_out); +CARES_EXTERN int ares_parse_uri_reply(const unsigned char* abuf, + int alen, + struct ares_uri_reply** uri_out); + CARES_EXTERN void ares_free_string(void *str); CARES_EXTERN void ares_free_hostent(struct hostent *host); |