|
|
|||
File indexing completed on 2026-05-15 08:15:31
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.18.0" 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 18 0041 #define LIBCURL_VERSION_PATCH 0 0042 /* This is the numeric version of the libcurl version number, meant for easier 0043 parsing and comparisons by programs. The LIBCURL_VERSION_NUM define will 0044 always follow this syntax: 0045 0046 0xXXYYZZ 0047 0048 Where XX, YY and ZZ are the main version, release and patch numbers in 0049 hexadecimal (using 8 bits each). All three numbers are always represented 0050 using two digits. 1.2 would appear as "0x010200" while version 9.11.7 0051 appears as "0x090b07". 0052 0053 This 6-digit (24 bits) hexadecimal number does not show pre-release number, 0054 and it is always a greater number in a more recent release. It makes 0055 comparisons with greater than and less than work. 0056 0057 Note: This define is the full hex number and _does not_ use the 0058 CURL_VERSION_BITS() macro since curl's own configure script greps for it 0059 and needs it to contain the full number. 0060 */ 0061 #define LIBCURL_VERSION_NUM 0x081200 0062 0063 /* 0064 * This is the date and time when the full source package was created. The 0065 * timestamp is not stored in git, as the timestamp is properly set in the 0066 * tarballs by the maketgz script. 0067 * 0068 * The format of the date follows this template: 0069 * 0070 * "2007-11-23" 0071 */ 0072 #define LIBCURL_TIMESTAMP "2026-01-07" 0073 0074 #define CURL_VERSION_BITS(x, y, z) ((x) << 16 | (y) << 8 | (z)) 0075 #define CURL_AT_LEAST_VERSION(x, y, z) \ 0076 (LIBCURL_VERSION_NUM >= CURL_VERSION_BITS(x, y, z)) 0077 0078 #endif /* CURLINC_CURLVER_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|