diff options
Diffstat (limited to 'src/c-ares/ares_version.c')
-rw-r--r-- | src/c-ares/ares_version.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/c-ares/ares_version.c b/src/c-ares/ares_version.c new file mode 100644 index 000000000..4f8c42f2c --- /dev/null +++ b/src/c-ares/ares_version.c @@ -0,0 +1,11 @@ + +#include "ares_setup.h" +#include "ares.h" + +const char *ares_version(int *version) +{ + if(version) + *version = ARES_VERSION; + + return ARES_VERSION_STR; +} |