Where Online Learning is simpler!
The C and C++ Include Header Files
cat -n /usr/include/openssl/opensslv.h
1 /* 2 * WARNING: do not edit! 3 * Generated by Makefile from ../include/openssl/opensslv.h.in 4 * 5 * Copyright 1999-2025 The OpenSSL Project Authors. All Rights Reserved. 6 * 7 * Licensed under the Apache License 2.0 (the "License"). You may not use 8 * this file except in compliance with the License. You can obtain a copy 9 * in the file LICENSE in the source distribution or at 10 * https://www.openssl.org/source/license.html 11 */ 12 13 #ifndef OPENSSL_OPENSSLV_H 14 #define OPENSSL_OPENSSLV_H 15 #pragma once 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 21 /* 22 * SECTION 1: VERSION DATA. These will change for each release 23 */ 24 25 /* 26 * Base version macros 27 * 28 * These macros express version number MAJOR.MINOR.PATCH exactly 29 */ 30 /* clang-format off */ 31 # define OPENSSL_VERSION_MAJOR 3 32 /* clang-format on */ 33 /* clang-format off */ 34 # define OPENSSL_VERSION_MINOR 5 35 /* clang-format on */ 36 /* clang-format off */ 37 # define OPENSSL_VERSION_PATCH 5 38 /* clang-format on */ 39 40 /* 41 * Additional version information 42 * 43 * These are also part of the new version scheme, but aren't part 44 * of the version number itself. 45 */ 46 47 /* Could be: #define OPENSSL_VERSION_PRE_RELEASE "-alpha.1" */ 48 /* clang-format off */ 49 # define OPENSSL_VERSION_PRE_RELEASE "" 50 /* clang-format on */ 51 /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+fips" */ 52 /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+vendor.1" */ 53 /* clang-format off */ 54 # define OPENSSL_VERSION_BUILD_METADATA "" 55 /* clang-format on */ 56 57 /* 58 * Note: The OpenSSL Project will never define OPENSSL_VERSION_BUILD_METADATA 59 * to be anything but the empty string. Its use is entirely reserved for 60 * others 61 */ 62 63 /* 64 * Shared library version 65 * 66 * This is strictly to express ABI version, which may or may not 67 * be related to the API version expressed with the macros above. 68 * This is defined in free form. 69 */ 70 /* clang-format off */ 71 # define OPENSSL_SHLIB_VERSION 3 72 /* clang-format on */ 73 74 /* 75 * SECTION 2: USEFUL MACROS 76 */ 77 78 /* For checking general API compatibility when preprocessing */ 79 #define OPENSSL_VERSION_PREREQ(maj, min) \ 80 ((OPENSSL_VERSION_MAJOR << 16) + OPENSSL_VERSION_MINOR >= ((maj) << 16) + (min)) 81 82 /* 83 * Macros to get the version in easily digested string form, both the short 84 * "MAJOR.MINOR.PATCH" variant (where MAJOR, MINOR and PATCH are replaced 85 * with the values from the corresponding OPENSSL_VERSION_ macros) and the 86 * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and 87 * OPENSSL_VERSION_BUILD_METADATA_STR appended. 88 */ 89 /* clang-format off */ 90 # define OPENSSL_VERSION_STR "3.5.5" 91 /* clang-format on */ 92 /* clang-format off */ 93 # define OPENSSL_FULL_VERSION_STR "3.5.5" 94 /* clang-format on */ 95 96 /* 97 * SECTION 3: ADDITIONAL METADATA 98 * 99 * These strings are defined separately to allow them to be parsable. 100 */ 101 /* clang-format off */ 102 # define OPENSSL_RELEASE_DATE "27 Jan 2026" 103 /* clang-format on */ 104 105 /* 106 * SECTION 4: BACKWARD COMPATIBILITY 107 */ 108 109 /* clang-format off */ 110 # define OPENSSL_VERSION_TEXT "OpenSSL 3.5.5 27 Jan 2026" 111 /* clang-format on */ 112 113 /* clang-format off */ 114 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PP0L */ 115 # define OPENSSL_VERSION_NUMBER \ 116 ( (OPENSSL_VERSION_MAJOR<<28) \ 117 |(OPENSSL_VERSION_MINOR<<20) \ 118 |(OPENSSL_VERSION_PATCH<<4) \ 119 |0x0L ) 120 /* clang-format on */ 121 122 #ifdef __cplusplus 123 } 124 #endif 125 126 #include <openssl/macros.h> 127 #ifndef OPENSSL_NO_DEPRECATED_3_0 128 #define HEADER_OPENSSLV_H 129 #endif 130 131 #endif /* OPENSSL_OPENSSLV_H */