Path: blob/master/Utilities/cmcurl/include/curl/curlver.h
3158 views
#ifndef CURLINC_CURLVER_H1#define CURLINC_CURLVER_H2/***************************************************************************3* _ _ ____ _4* Project ___| | | | _ \| |5* / __| | | | |_) | |6* | (__| |_| | _ <| |___7* \___|\___/|_| \_\_____|8*9* Copyright (C) Daniel Stenberg, <[email protected]>, et al.10*11* This software is licensed as described in the file COPYING, which12* you should have received as part of this distribution. The terms13* are also available at https://curl.se/docs/copyright.html.14*15* You may opt to use, copy, modify, merge, publish, distribute and/or sell16* copies of the Software, and permit persons to whom the Software is17* furnished to do so, under the terms of the COPYING file.18*19* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY20* KIND, either express or implied.21*22* SPDX-License-Identifier: curl23*24***************************************************************************/2526/* This header file contains nothing but libcurl version info, generated by27a script at release-time. This was made its own header file in 7.11.2 */2829/* This is the global package copyright */30#define LIBCURL_COPYRIGHT "Daniel Stenberg, <[email protected]>."3132/* This is the version number of the libcurl package from which this header33file origins: */34#define LIBCURL_VERSION "8.15.0"3536/* The numeric version number is also available "in parts" by using these37defines: */38#define LIBCURL_VERSION_MAJOR 839#define LIBCURL_VERSION_MINOR 1540#define LIBCURL_VERSION_PATCH 04142/* This is the numeric version of the libcurl version number, meant for easier43parsing and comparisons by programs. The LIBCURL_VERSION_NUM define will44always follow this syntax:45460xXXYYZZ4748Where XX, YY and ZZ are the main version, release and patch numbers in49hexadecimal (using 8 bits each). All three numbers are always represented50using two digits. 1.2 would appear as "0x010200" while version 9.11.751appears as "0x090b07".5253This 6-digit (24 bits) hexadecimal number does not show pre-release number,54and it is always a greater number in a more recent release. It makes55comparisons with greater than and less than work.5657Note: This define is the full hex number and _does not_ use the58CURL_VERSION_BITS() macro since curl's own configure script greps for it59and needs it to contain the full number.60*/61#define LIBCURL_VERSION_NUM 0x080f006263/*64* This is the date and time when the full source package was created. The65* timestamp is not stored in git, as the timestamp is properly set in the66* tarballs by the maketgz script.67*68* The format of the date follows this template:69*70* "2007-11-23"71*/72#define LIBCURL_TIMESTAMP "[unreleased]"7374#define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|(z))75#define CURL_AT_LEAST_VERSION(x,y,z) \76(LIBCURL_VERSION_NUM >= CURL_VERSION_BITS(x, y, z))7778#endif /* CURLINC_CURLVER_H */798081