diff options
author | Yang Tse <yangsita@gmail.com> | 2009-05-18 00:21:02 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-05-18 00:21:02 +0000 |
commit | 084447e414a6ed992c252f1e143676d3eac37742 (patch) | |
tree | 404510aa15da23773a51cc811f6035ea05334d72 /ares/ares.h | |
parent | 4c9c9f0b89a09a9358fc3091f7561f52b8f83d90 (diff) | |
download | curl-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.h | 6 |
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, |