summaryrefslogtreecommitdiff
path: root/ares/ares.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-18 00:21:02 +0000
committerYang Tse <yangsita@gmail.com>2009-05-18 00:21:02 +0000
commit084447e414a6ed992c252f1e143676d3eac37742 (patch)
tree404510aa15da23773a51cc811f6035ea05334d72 /ares/ares.h
parent4c9c9f0b89a09a9358fc3091f7561f52b8f83d90 (diff)
downloadcurl-084447e414a6ed992c252f1e143676d3eac37742.tar.gz
- Provide in external interface preprocessor symbol definitions for
CARES_HAVE_ARES_LIBRARY_INIT and CARES_HAVE_ARES_LIBRARY_CLEANUP to ease the use of new capabilities. - Move ares_version() prototype to ares.h
Diffstat (limited to 'ares/ares.h')
-rw-r--r--ares/ares.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ares/ares.h b/ares/ares.h
index e942d2def..9d09a7ada 100644
--- a/ares/ares.h
+++ b/ares/ares.h
@@ -19,8 +19,9 @@
#ifndef ARES__H
#define ARES__H
-#include "ares_build.h" /* c-ares build definitions */
-#include "ares_rules.h" /* c-ares rules enforcement */
+#include "ares_version.h" /* c-ares version defines */
+#include "ares_build.h" /* c-ares build definitions */
+#include "ares_rules.h" /* c-ares rules enforcement */
/*
* Define WIN32 when build target is Win32 API
@@ -248,6 +249,7 @@ typedef int (*ares_sock_create_callback)(ares_socket_t socket_fd,
int ares_library_init(int flags);
void ares_library_cleanup(void);
+const char *ares_version(int *version);
int ares_init(ares_channel *channelptr);
int ares_init_options(ares_channel *channelptr, struct ares_options *options,