Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:55:11

0001 #ifndef CURLINC_CURLVER_H
0002 #define CURLINC_CURLVER_H
0003 /***************************************************************************
0004  *                                  _   _ ____  _
0005  *  Project                     ___| | | |  _ \| |
0006  *                             / __| | | | |_) | |
0007  *                            | (__| |_| |  _ <| |___
0008  *                             \___|\___/|_| \_\_____|
0009  *
0010  * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
0011  *
0012  * This software is licensed as described in the file COPYING, which
0013  * you should have received as part of this distribution. The terms
0014  * are also available at https://curl.se/docs/copyright.html.
0015  *
0016  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
0017  * copies of the Software, and permit persons to whom the Software is
0018  * furnished to do so, under the terms of the COPYING file.
0019  *
0020  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
0021  * KIND, either express or implied.
0022  *
0023  * SPDX-License-Identifier: curl
0024  *
0025  ***************************************************************************/
0026 
0027 /* This header file contains nothing but libcurl version info, generated by
0028    a script at release-time. This was made its own header file in 7.11.2 */
0029 
0030 /* This is the global package copyright */
0031 #define LIBCURL_COPYRIGHT "Daniel Stenberg, <daniel@haxx.se>."
0032 
0033 /* This is the version number of the libcurl package from which this header
0034    file origins: */
0035 #define LIBCURL_VERSION "8.10.1"
0036 
0037 /* The numeric version number is also available "in parts" by using these
0038    defines: */
0039 #define LIBCURL_VERSION_MAJOR 8
0040 #define LIBCURL_VERSION_MINOR 10
0041 #define LIBCURL_VERSION_PATCH 1
0042 
0043 /* This is the numeric version of the libcurl version number, meant for easier
0044    parsing and comparisons by programs. The LIBCURL_VERSION_NUM define will
0045    always follow this syntax:
0046 
0047          0xXXYYZZ
0048 
0049    Where XX, YY and ZZ are the main version, release and patch numbers in
0050    hexadecimal (using 8 bits each). All three numbers are always represented
0051    using two digits. 1.2 would appear as "0x010200" while version 9.11.7
0052    appears as "0x090b07".
0053 
0054    This 6-digit (24 bits) hexadecimal number does not show pre-release number,
0055    and it is always a greater number in a more recent release. It makes
0056    comparisons with greater than and less than work.
0057 
0058    Note: This define is the full hex number and _does not_ use the
0059    CURL_VERSION_BITS() macro since curl's own configure script greps for it
0060    and needs it to contain the full number.
0061 */
0062 #define LIBCURL_VERSION_NUM 0x080a01
0063 
0064 /*
0065  * This is the date and time when the full source package was created. The
0066  * timestamp is not stored in git, as the timestamp is properly set in the
0067  * tarballs by the maketgz script.
0068  *
0069  * The format of the date follows this template:
0070  *
0071  * "2007-11-23"
0072  */
0073 #define LIBCURL_TIMESTAMP "2024-09-18"
0074 
0075 #define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|(z))
0076 #define CURL_AT_LEAST_VERSION(x,y,z) \
0077   (LIBCURL_VERSION_NUM >= CURL_VERSION_BITS(x, y, z))
0078 
0079 #endif /* CURLINC_CURLVER_H */