diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-10-06 12:56:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-10-06 12:56:13 +0000 |
commit | 62fdf8eaed7883c63e28b60c1a4cb8adee5e534d (patch) | |
tree | 8acce6db665b912428ca592b0c7a0fcce95e59ee /include | |
parent | d3569a357224f20265a330e999c78ae8db81f46b (diff) |
we all the next version 7.15.0 due to the new TFTP support
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curlver.h | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/include/curl/curlver.h b/include/curl/curlver.h index 9da18b1b6..d543cb9af 100644 --- a/include/curl/curlver.h +++ b/include/curl/curlver.h @@ -28,7 +28,13 @@ /* This is the version number of the libcurl package from which this header file origins: */ -#define LIBCURL_VERSION "7.14.2-CVS" +#define LIBCURL_VERSION "7.15.0-CVS" + +/* The numeric version number is also available "in parts" by using these + defines: */ +#define LIBCURL_VERSION_MAJOR 7 +#define LIBCURL_VERSION_MINOR 15 +#define LIBCURL_VERSION_PATCH 0 /* This is the numeric version of the libcurl version number, meant for easier parsing and comparions by programs. The LIBCURL_VERSION_NUM define will @@ -37,19 +43,16 @@ 0xXXYYZZ Where XX, YY and ZZ are the main version, release and patch numbers in - hexadecimal. All three numbers are always represented using two digits. 1.2 - would appear as "0x010200" while version 9.11.7 appears as "0x090b07". + hexadecimal (using 8 bits each). All three numbers are always represented + using two digits. 1.2 would appear as "0x010200" while version 9.11.7 + appears as "0x090b07". - This 6-digit hexadecimal number does not show pre-release number, and it is - always a greater number in a more recent release. It makes comparisons with - greater than and less than work. + This 6-digit (24 bits) hexadecimal number does not show pre-release number, + and it is always a greater number in a more recent release. It makes + comparisons with greater than and less than work. */ -#define LIBCURL_VERSION_NUM 0x070e02 - -/* The numeric version number is also available "in parts" by using these - defines: */ -#define LIBCURL_VERSION_MAJOR 7 -#define LIBCURL_VERSION_MINOR 14 -#define LIBCURL_VERSION_PATCH 2 +#define LIBCURL_VERSION_NUM ((LIBCURL_VERSION_MAJOR << 16) | \ + (LIBCURL_VERSION_MINOR << 8) | \ + LIBCURL_VERSION_PATCH) #endif /* __CURL_CURLVER_H */ |