diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-16 16:42:48 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-16 16:42:48 +0000 |
commit | aa41743ebdb8b348b70bcd886395f0ba5f5fac3a (patch) | |
tree | a88f8147f6aaf3015bcf1f0679ec1c0bdef97d84 /ares/nameser.h | |
parent | ee5f13cb6b2a6e514dd6b2e129c48b7afd2fefae (diff) |
rearrange to allow internal/private use of ares_writev to any system
that lacks the writev function.
Diffstat (limited to 'ares/nameser.h')
-rw-r--r-- | ares/nameser.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/ares/nameser.h b/ares/nameser.h index b5add9334..f2b68f13b 100644 --- a/ares/nameser.h +++ b/ares/nameser.h @@ -13,20 +13,10 @@ #ifndef NETWARE -/* Structure for scatter/gather I/O. */ -struct iovec -{ - void *iov_base; /* Pointer to data. */ - size_t iov_len; /* Length of data. */ -}; - #ifndef __WATCOMC__ #define getpid() _getpid() #endif -int ares_writev (SOCKET s, const struct iovec *vector, size_t count); -#define writev(s,vect,count) ares_writev(s,vect,count) - #endif /* !NETWARE */ #define NS_CMPRSFLGS 0xc0 @@ -94,6 +84,8 @@ typedef enum __ns_type { ns_t_dname = 39, /* Non-terminal DNAME (for IPv6) */ ns_t_sink = 40, /* Kitchen sink (experimentatl) */ ns_t_opt = 41, /* EDNS0 option (meta-RR) */ + ns_t_apl = 42, /* Address prefix list (RFC3123) */ + ns_t_tkey = 249, /* Transaction key */ ns_t_tsig = 250, /* Transaction signature. */ ns_t_ixfr = 251, /* Incremental zone transfer. */ ns_t_axfr = 252, /* Transfer zone of authority. */ |