ares_version
ares_cancel()
ares_destroy()
ares_destroy_options()
ares_expand_name()
ares_expand_string()
ares_fds()
ares_free_hostent()
ares_free_string()
ares_gethostbyaddr()
ares_gethostbyname()
ares_getnameinfo()
ares_getsock()
ares_inet_ntop()
ares_inet_pton()
ares_init()
ares_init_options()
ares_library_cleanup()
ares_library_init()
ares_mkquery()
ares_parse_a_reply()
ares_parse_aaaa_reply()
ares_parse_ns_reply()
ares_parse_ptr_reply()
ares_parse_soa_reply()
ares_parse_srv_reply()
ares_parse_txt_reply()
ares_process()
ares_process_fd()
ares_query()
ares_save_options()
ares_search()
ares_send()
ares_strerror()
ares_timeout()

NAME

ares_version - Get the version number of the library

SYNOPSIS

#include <ares.h>

const char *ares_version(int *version)

DESCRIPTION

The ares_version function gets the library version as a string and optionally as an integer stored in the version , argument. If you pass a NULL, no integer is attempted to be returned.

The integer is built up as 24bit number, with 8 separate bits used for major number, minor number and patch number. This makes a version string such as 1.2.3 will be returned as the hexadecimal number 0x010203 (decimal 66051).

NOTES

This function is not compatible with ares.

AUTHOR

Daniel Stenberg

This HTML page was made with roffit.