1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-12-07 12:06:28 +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:
Daniel Stenberg
2003-10-24 20:28:04 +00:00
parent d76ed5d861
commit cfa535b3a5
3 changed files with 29 additions and 1 deletions

17
ares_version.h Normal file
View File

@ -0,0 +1,17 @@
/* $Id$ */
#ifndef ARES__VERSION_H
#define ARES__VERSION_H
#define ARES_VERSION_MAJOR 1
#define ARES_VERSION_MINOR 0
#define ARES_VERSION_PATCH 0
#define ARES_VERSION ((ARES_VERSION_MAJOR<<16)|\
(ARES_VERSION_MINOR<<8)|\
(ARES_VERSION_PATCH))
#define ARES_VERSION_STR "1.0.0"
char *ares_version(int *version);
#endif