2004-03-22 03:37:38 -05:00
|
|
|
#ifndef __CURL_CURLVER_H
|
|
|
|
#define __CURL_CURLVER_H
|
|
|
|
/***************************************************************************
|
2004-06-02 07:39:06 -04:00
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
2004-03-22 03:37:38 -05:00
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2017-01-16 02:34:15 -05:00
|
|
|
* Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2004-03-22 03:37:38 -05:00
|
|
|
*
|
|
|
|
* This software is licensed as described in the file COPYING, which
|
|
|
|
* you should have received as part of this distribution. The terms
|
2016-02-02 18:19:02 -05:00
|
|
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
2004-06-02 07:39:06 -04:00
|
|
|
*
|
2004-03-22 03:37:38 -05:00
|
|
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
* copies of the Software, and permit persons to whom the Software is
|
|
|
|
* furnished to do so, under the terms of the COPYING file.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
/* This header file contains nothing but libcurl version info, generated by
|
|
|
|
a script at release-time. This was made its own header file in 7.11.2 */
|
|
|
|
|
2008-01-24 09:05:56 -05:00
|
|
|
/* This is the global package copyright */
|
2017-01-16 02:34:15 -05:00
|
|
|
#define LIBCURL_COPYRIGHT "1996 - 2017 Daniel Stenberg, <daniel@haxx.se>."
|
2008-01-24 09:05:56 -05:00
|
|
|
|
2004-03-22 03:37:38 -05:00
|
|
|
/* This is the version number of the libcurl package from which this header
|
|
|
|
file origins: */
|
2017-02-24 17:48:05 -05:00
|
|
|
#define LIBCURL_VERSION "7.53.2-DEV"
|
2005-10-06 08:56:13 -04:00
|
|
|
|
|
|
|
/* The numeric version number is also available "in parts" by using these
|
|
|
|
defines: */
|
|
|
|
#define LIBCURL_VERSION_MAJOR 7
|
2017-01-16 02:34:15 -05:00
|
|
|
#define LIBCURL_VERSION_MINOR 53
|
2017-02-24 17:48:05 -05:00
|
|
|
#define LIBCURL_VERSION_PATCH 2
|
2004-03-22 03:37:38 -05:00
|
|
|
|
|
|
|
/* This is the numeric version of the libcurl version number, meant for easier
|
|
|
|
parsing and comparions by programs. The LIBCURL_VERSION_NUM define will
|
|
|
|
always follow this syntax:
|
|
|
|
|
|
|
|
0xXXYYZZ
|
|
|
|
|
|
|
|
Where XX, YY and ZZ are the main version, release and patch numbers in
|
2005-10-06 08:56:13 -04:00
|
|
|
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".
|
2004-03-22 03:37:38 -05:00
|
|
|
|
2005-10-06 08:56:13 -04:00
|
|
|
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.
|
2015-05-18 05:28:44 -04:00
|
|
|
|
|
|
|
Note: This define is the full hex number and _does not_ use the
|
|
|
|
CURL_VERSION_BITS() macro since curl's own configure script greps for it
|
|
|
|
and needs it to contain the full number.
|
2004-03-22 03:37:38 -05:00
|
|
|
*/
|
2017-02-24 17:48:05 -05:00
|
|
|
#define LIBCURL_VERSION_NUM 0x073502
|
2004-03-22 03:37:38 -05:00
|
|
|
|
2007-02-12 06:53:35 -05:00
|
|
|
/*
|
|
|
|
* This is the date and time when the full source package was created. The
|
2010-03-21 19:26:29 -04:00
|
|
|
* timestamp is not stored in git, as the timestamp is properly set in the
|
2007-02-12 06:53:35 -05:00
|
|
|
* tarballs by the maketgz script.
|
|
|
|
*
|
|
|
|
* The format of the date should follow this template:
|
|
|
|
*
|
|
|
|
* "Mon Feb 12 11:35:33 UTC 2007"
|
|
|
|
*/
|
2010-03-21 19:26:29 -04:00
|
|
|
#define LIBCURL_TIMESTAMP "DEV"
|
2007-02-12 06:53:35 -05:00
|
|
|
|
2015-05-14 17:33:27 -04:00
|
|
|
#define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|z)
|
|
|
|
#define CURL_AT_LEAST_VERSION(x,y,z) \
|
|
|
|
(LIBCURL_VERSION_NUM >= CURL_VERSION_BITS(x, y, z))
|
|
|
|
|
2004-03-22 03:37:38 -05:00
|
|
|
#endif /* __CURL_CURLVER_H */
|