summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-02 02:36:47 (GMT)
committerYang Tse <yangsita@gmail.com>2009-05-02 02:36:47 (GMT)
commit3a55bbebf11207721db8a77cff88c82298ee41ff (patch)
treeae0a1083a0e78216cc833d912fcd168b2572e779 /ares.h
parentd9647bd70fd14adf15fd1ff0be0edd5ebcaf0c41 (diff)
downloadc-ares-3a55bbebf11207721db8a77cff88c82298ee41ff.zip
c-ares-3a55bbebf11207721db8a77cff88c82298ee41ff.tar.gz
c-ares-3a55bbebf11207721db8a77cff88c82298ee41ff.tar.bz2
Use build-time configured ares_socklen_t instead of socklen_t
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares.h b/ares.h
index 585e350..38750fe 100644
--- a/ares.h
+++ b/ares.h
@@ -260,7 +260,7 @@ int ares_gethostbyname_file(ares_channel channel, const char *name,
void ares_gethostbyaddr(ares_channel channel, const void *addr, int addrlen,
int family, ares_host_callback callback, void *arg);
void ares_getnameinfo(ares_channel channel, const struct sockaddr *sa,
- socklen_t salen, int flags,
+ ares_socklen_t salen, int flags,
ares_nameinfo_callback callback,
void *arg);
int ares_fds(ares_channel channel, fd_set *read_fds, fd_set *write_fds);