summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/CAres/src/ares_version.c')
-rw-r--r--3rdParty/CAres/src/ares_version.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/3rdParty/CAres/src/ares_version.c b/3rdParty/CAres/src/ares_version.c
new file mode 100644
index 0000000..3007150
--- /dev/null
+++ b/3rdParty/CAres/src/ares_version.c
@@ -0,0 +1,12 @@
+/* $Id: ares_version.c,v 1.5 2009-11-02 11:55:53 yangtse Exp $ */
+
+#include "ares_setup.h"
+#include "ares.h"
+
+const char *ares_version(int *version)
+{
+ if(version)
+ *version = ARES_VERSION;
+
+ return ARES_VERSION_STR;
+}