Introducing ares_version(), so that we can have apps get version info about

what particular ares version that is being used.
This commit is contained in:
Daniel Stenberg
2003-10-24 20:28:04 +00:00
parent d76ed5d861
commit cfa535b3a5
3 changed files with 29 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
/* $Id$ */
#include "ares_version.h"
char *ares_version(int *version)
{
if(version)
*version = ARES_VERSION;
return ARES_VERSION_STR;
}