00001 #ifndef __CURL_CURLVER_H 00002 #define __CURL_CURLVER_H 00003 /*************************************************************************** 00004 * _ _ ____ _ 00005 * Project ___| | | | _ \| | 00006 * / __| | | | |_) | | 00007 * | (__| |_| | _ <| |___ 00008 * \___|\___/|_| \_\_____| 00009 * 00010 * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. 00011 * 00012 * This software is licensed as described in the file COPYING, which 00013 * you should have received as part of this distribution. The terms 00014 * are also available at https://curl.haxx.se/docs/copyright.html. 00015 * 00016 * You may opt to use, copy, modify, merge, publish, distribute and/or sell 00017 * copies of the Software, and permit persons to whom the Software is 00018 * furnished to do so, under the terms of the COPYING file. 00019 * 00020 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 00021 * KIND, either express or implied. 00022 * 00023 ***************************************************************************/ 00024 00025 /* This header file contains nothing but libcurl version info, generated by 00026 a script at release-time. This was made its own header file in 7.11.2 */ 00027 00028 /* This is the global package copyright */ 00029 #define LIBCURL_COPYRIGHT "1996 - 2016 Daniel Stenberg, <daniel@haxx.se>." 00030 00031 /* This is the version number of the libcurl package from which this header 00032 file origins: */ 00033 #define LIBCURL_VERSION "7.52.1-DEV" 00034 00035 /* The numeric version number is also available "in parts" by using these 00036 defines: */ 00037 #define LIBCURL_VERSION_MAJOR 7 00038 #define LIBCURL_VERSION_MINOR 52 00039 #define LIBCURL_VERSION_PATCH 1 00040 00041 /* This is the numeric version of the libcurl version number, meant for easier 00042 parsing and comparions by programs. The LIBCURL_VERSION_NUM define will 00043 always follow this syntax: 00044 00045 0xXXYYZZ 00046 00047 Where XX, YY and ZZ are the main version, release and patch numbers in 00048 hexadecimal (using 8 bits each). All three numbers are always represented 00049 using two digits. 1.2 would appear as "0x010200" while version 9.11.7 00050 appears as "0x090b07". 00051 00052 This 6-digit (24 bits) hexadecimal number does not show pre-release number, 00053 and it is always a greater number in a more recent release. It makes 00054 comparisons with greater than and less than work. 00055 00056 Note: This define is the full hex number and _does not_ use the 00057 CURL_VERSION_BITS() macro since curl's own configure script greps for it 00058 and needs it to contain the full number. 00059 */ 00060 #define LIBCURL_VERSION_NUM 0x073401 00061 00062 /* 00063 * This is the date and time when the full source package was created. The 00064 * timestamp is not stored in git, as the timestamp is properly set in the 00065 * tarballs by the maketgz script. 00066 * 00067 * The format of the date should follow this template: 00068 * 00069 * "Mon Feb 12 11:35:33 UTC 2007" 00070 */ 00071 #define LIBCURL_TIMESTAMP "DEV" 00072 00073 #define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|z) 00074 #define CURL_AT_LEAST_VERSION(x,y,z) \ 00075 (LIBCURL_VERSION_NUM >= CURL_VERSION_BITS(x, y, z)) 00076 00077 #endif /* __CURL_CURLVER_H */