mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2026-10-02 13:17:13 +00:00
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:
@@ -0,0 +1,11 @@
|
||||
/* $Id$ */
|
||||
|
||||
#include "ares_version.h"
|
||||
|
||||
char *ares_version(int *version)
|
||||
{
|
||||
if(version)
|
||||
*version = ARES_VERSION;
|
||||
|
||||
return ARES_VERSION_STR;
|
||||
}
|
||||
Reference in New Issue
Block a user