Path: blob/master/cpp/linux/curl/curlver.h
644 views
#ifndef __CURL_CURLVER_H1#define __CURL_CURLVER_H2/***************************************************************************3* _ _ ____ _4* Project ___| | | | _ \| |5* / __| | | | |_) | |6* | (__| |_| | _ <| |___7* \___|\___/|_| \_\_____|8*9* Copyright (C) 1998 - 2019, 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.haxx.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***************************************************************************/2324/* This header file contains nothing but libcurl version info, generated by25a script at release-time. This was made its own header file in 7.11.2 */2627/* This is the global package copyright */28#define LIBCURL_COPYRIGHT "1996 - 2019 Daniel Stenberg, <[email protected]>."2930/* This is the version number of the libcurl package from which this header31file origins: */32#define LIBCURL_VERSION "7.65.3"3334/* The numeric version number is also available "in parts" by using these35defines: */36#define LIBCURL_VERSION_MAJOR 737#define LIBCURL_VERSION_MINOR 6538#define LIBCURL_VERSION_PATCH 33940/* This is the numeric version of the libcurl version number, meant for easier41parsing and comparions by programs. The LIBCURL_VERSION_NUM define will42always follow this syntax:43440xXXYYZZ4546Where XX, YY and ZZ are the main version, release and patch numbers in47hexadecimal (using 8 bits each). All three numbers are always represented48using two digits. 1.2 would appear as "0x010200" while version 9.11.749appears as "0x090b07".5051This 6-digit (24 bits) hexadecimal number does not show pre-release number,52and it is always a greater number in a more recent release. It makes53comparisons with greater than and less than work.5455Note: This define is the full hex number and _does not_ use the56CURL_VERSION_BITS() macro since curl's own configure script greps for it57and needs it to contain the full number.58*/59#define LIBCURL_VERSION_NUM 0x0741036061/*62* This is the date and time when the full source package was created. The63* timestamp is not stored in git, as the timestamp is properly set in the64* tarballs by the maketgz script.65*66* The format of the date follows this template:67*68* "2007-11-23"69*/70#define LIBCURL_TIMESTAMP "2019-07-19"7172#define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|(z))73#define CURL_AT_LEAST_VERSION(x,y,z) \74(LIBCURL_VERSION_NUM >= CURL_VERSION_BITS(x, y, z))7576#endif /* __CURL_CURLVER_H */777879