1 #ifndef __CURL_CURLVER_H
2 #define __CURL_CURLVER_H
3 /***************************************************************************
5 * Project ___| | | | _ \| |
7 * | (__| |_| | _ <| |___
8 * \___|\___/|_| \_\_____|
10 * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
12 * This software is licensed as described in the file COPYING, which
13 * you should have received as part of this distribution. The terms
14 * are also available at https://curl.haxx.se/docs/copyright.html.
16 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17 * copies of the Software, and permit persons to whom the Software is
18 * furnished to do so, under the terms of the COPYING file.
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
23 ***************************************************************************/
25 /* This header file contains nothing but libcurl version info, generated by
26 a script at release-time. This was made its own header file in 7.11.2 */
28 /* This is the global package copyright */
29 #define LIBCURL_COPYRIGHT "1996 - 2016 Daniel Stenberg, <daniel@haxx.se>."
31 /* This is the version number of the libcurl package from which this header
33 #define LIBCURL_VERSION "7.50.3"
35 /* The numeric version number is also available "in parts" by using these
37 #define LIBCURL_VERSION_MAJOR 7
38 #define LIBCURL_VERSION_MINOR 50
39 #define LIBCURL_VERSION_PATCH 3
41 /* This is the numeric version of the libcurl version number, meant for easier
42 parsing and comparions by programs. The LIBCURL_VERSION_NUM define will
43 always follow this syntax:
47 Where XX, YY and ZZ are the main version, release and patch numbers in
48 hexadecimal (using 8 bits each). All three numbers are always represented
49 using two digits. 1.2 would appear as "0x010200" while version 9.11.7
50 appears as "0x090b07".
52 This 6-digit (24 bits) hexadecimal number does not show pre-release number,
53 and it is always a greater number in a more recent release. It makes
54 comparisons with greater than and less than work.
56 Note: This define is the full hex number and _does not_ use the
57 CURL_VERSION_BITS() macro since curl's own configure script greps for it
58 and needs it to contain the full number.
60 #define LIBCURL_VERSION_NUM 0x073203
63 * This is the date and time when the full source package was created. The
64 * timestamp is not stored in git, as the timestamp is properly set in the
65 * tarballs by the maketgz script.
67 * The format of the date should follow this template:
69 * "Mon Feb 12 11:35:33 UTC 2007"
71 #define LIBCURL_TIMESTAMP "Wed Sep 14 05:57:40 UTC 2016"
73 #define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|z)
74 #define CURL_AT_LEAST_VERSION(x,y,z) \
75 (LIBCURL_VERSION_NUM >= CURL_VERSION_BITS(x, y, z))
77 #endif /* __CURL_CURLVER_H */