Buckets:
| /* | |
| * Copyright 2019-2025 The OpenSSL Project Authors. All Rights Reserved. | |
| * | |
| * Licensed under the Apache License 2.0 (the "License"). You may not use | |
| * this file except in compliance with the License. You can obtain a copy | |
| * in the file LICENSE in the source distribution or at | |
| * https://www.openssl.org/source/license.html | |
| */ | |
| /* Helper macros for CPP string composition */ | |
| /* | |
| * Sometimes OPENSSL_NO_xxx ends up with an empty file and some compilers | |
| * don't like that. This will hopefully silence them. | |
| */ | |
| /* | |
| * Generic deprecation macro | |
| * | |
| * If OPENSSL_SUPPRESS_DEPRECATED is defined, then OSSL_DEPRECATED and | |
| * OSSL_DEPRECATED_FOR become no-ops | |
| */ | |
| /* | |
| * MSVC supports __declspec(deprecated) since MSVC 2003 (13.10), | |
| * and __declspec(deprecated(message)) since MSVC 2005 (14.00) | |
| */ | |
| /* | |
| * According to GCC documentation, deprecations with message appeared in | |
| * GCC 4.5.0 | |
| */ | |
| /* | |
| * Still not defined? Then define no-op macros. This means these macros | |
| * are unsuitable for use in a typedef. | |
| */ | |
| /* | |
| * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the | |
| * declarations of functions deprecated in or before <version>. If this is | |
| * undefined, the value of the macro OPENSSL_CONFIGURED_API (defined in | |
| * <openssl/opensslconf.h>) is the default. | |
| * | |
| * For any version number up until version 1.1.x, <version> is expected to be | |
| * the calculated version number 0xMNNFFPPSL. | |
| * For version numbers 3.0 and on, <version> is expected to be a computation | |
| * of the major and minor numbers in decimal using this formula: | |
| * | |
| * MAJOR * 10000 + MINOR * 100 | |
| * | |
| * So version 3.0 becomes 30000, version 3.2 becomes 30200, etc. | |
| */ | |
| /* | |
| * We use the OPENSSL_API_COMPAT value to define API level macros. These | |
| * macros are used to enable or disable features at that API version boundary. | |
| */ | |
| /* | |
| * We figure out what API level was intended by simple numeric comparison. | |
| * The lowest old style number we recognise is 0x00908000L, so we take some | |
| * safety margin and assume that anything below 0x00900000L is a new style | |
| * number. This allows new versions up to and including v943.71.83. | |
| */ | |
| /* | |
| * If OPENSSL_API_COMPAT wasn't given, we use default numbers to set | |
| * the API compatibility level. | |
| */ | |
| /* | |
| * Check of sane values. | |
| */ | |
| /* Can't go higher than the current version. */ | |
| /* OpenSSL will have no version 2.y.z */ | |
| /* Below 0.9.8 is unacceptably low */ | |
| /* | |
| * Define macros for deprecation and simulated removal purposes. | |
| * | |
| * The macros OSSL_DEPRECATEDIN_{major}_{minor} are always defined for | |
| * all OpenSSL versions we care for. They can be used as attributes | |
| * in function declarations where appropriate. | |
| * | |
| * The macros OPENSSL_NO_DEPRECATED_{major}_{minor} are defined for | |
| * all OpenSSL versions up to or equal to the version given with | |
| * OPENSSL_API_COMPAT. They are used as guards around anything that's | |
| * deprecated up to that version, as an effect of the developer option | |
| * 'no-deprecated'. | |
| */ | |
| /* | |
| * Make our own variants of __FILE__ and __LINE__, depending on configuration | |
| */ | |
| /* | |
| * __func__ was standardized in C99, so for any compiler that claims | |
| * to implement that language level or newer, we assume we can safely | |
| * use that symbol. | |
| * | |
| * GNU C also provides __FUNCTION__ since version 2, which predates | |
| * C99. We can, however, only use this if __STDC_VERSION__ exists, | |
| * as it's otherwise not allowed according to ISO C standards (C90). | |
| * (compiling with GNU C's -pedantic tells us so) | |
| * | |
| * If none of the above applies, we check if the compiler is MSVC, | |
| * and use __FUNCTION__ if that's the case. | |
| */ | |
| /* | |
| * If all these possibilities are exhausted, we give up and use a | |
| * static string. | |
| */ | |
Xet Storage Details
- Size:
- 11.1 kB
- Xet hash:
- 8b83f11977c4ff4990595311c9c772560f7fbf1445ffe403a0cc370b0cc22c1b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.