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 | 1a9795b401092199b401843bb74cb05dd3849445 (patch) | |
tree | 15062a32758912100f3102ef0f52fa6a8b1cdf98 /nameser.h | |
parent | 25d9912b385605e93b7215eec6a9ec790eff6f6e (diff) | |
download | c-ares-1a9795b401092199b401843bb74cb05dd3849445.tar.gz c-ares-1a9795b401092199b401843bb74cb05dd3849445.tar.bz2 c-ares-1a9795b401092199b401843bb74cb05dd3849445.zip |
rearrange to allow internal/private use of ares_writev to any system
that lacks the writev function.
Diffstat (limited to 'nameser.h')
-rw-r--r-- | nameser.h | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -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. */ |