ERR: Rebuild all generated error headers and source files
[openssl.git] / include / openssl / sslerr_legacy.h
1 /*
2  * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the Apache License 2.0 (the "License").  You may not use
5  * this file except in compliance with the License.  You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9
10 /*
11  * This header file preserves symbols from pre-3.0 OpenSSL.
12  * It should never be included directly, as it's already included
13  * by the public sslerr.h headers, and since it will go away some
14  * time in the future.
15  */
16
17 #ifndef OPENSSL_SSLERR_LEGACY_H
18 # define OPENSSL_SSLERR_LEGACY_H
19 # pragma once
20
21 # include <openssl/macros.h>
22 # include <openssl/symhacks.h>
23
24 # ifdef  __cplusplus
25 extern "C" {
26 # endif
27
28 # ifndef OPENSSL_NO_DEPRECATED_3_0
29 OSSL_DEPRECATEDIN_3_0 int ERR_load_SSL_strings(void);
30 # endif
31
32 # ifdef  __cplusplus
33 }
34 # endif
35 #endif
36