xref: /openbsd/lib/libcrypto/hidden/openssl/err.h (revision 86b918c0)
1 /* $OpenBSD: err.h,v 1.5 2024/03/02 10:30:48 tb Exp $ */
2 /*
3  * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4  *
5  * Permission to use, copy, modify, and distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16  */
17 
18 #ifndef _LIBCRYPTO_ERR_H
19 #define _LIBCRYPTO_ERR_H
20 
21 #ifndef _MSC_VER
22 #include_next <openssl/err.h>
23 #else
24 #include "../include/openssl/err.h"
25 #endif
26 #include "crypto_namespace.h"
27 
28 LCRYPTO_USED(ERR_put_error);
29 LCRYPTO_USED(ERR_set_error_data);
30 LCRYPTO_USED(ERR_get_error);
31 LCRYPTO_USED(ERR_get_error_line);
32 LCRYPTO_USED(ERR_get_error_line_data);
33 LCRYPTO_USED(ERR_peek_error);
34 LCRYPTO_USED(ERR_peek_error_line);
35 LCRYPTO_USED(ERR_peek_error_line_data);
36 LCRYPTO_USED(ERR_peek_last_error);
37 LCRYPTO_USED(ERR_peek_last_error_line);
38 LCRYPTO_USED(ERR_peek_last_error_line_data);
39 LCRYPTO_USED(ERR_clear_error);
40 LCRYPTO_USED(ERR_error_string);
41 LCRYPTO_USED(ERR_error_string_n);
42 LCRYPTO_USED(ERR_lib_error_string);
43 LCRYPTO_USED(ERR_func_error_string);
44 LCRYPTO_USED(ERR_reason_error_string);
45 LCRYPTO_USED(ERR_print_errors_cb);
46 LCRYPTO_USED(ERR_print_errors_fp);
47 LCRYPTO_USED(ERR_print_errors);
48 LCRYPTO_USED(ERR_asprintf_error_data);
49 LCRYPTO_USED(ERR_load_strings);
50 LCRYPTO_USED(ERR_unload_strings);
51 LCRYPTO_USED(ERR_load_ERR_strings);
52 LCRYPTO_USED(ERR_load_crypto_strings);
53 LCRYPTO_USED(ERR_free_strings);
54 LCRYPTO_USED(ERR_remove_thread_state);
55 LCRYPTO_USED(ERR_remove_state);
56 LCRYPTO_USED(ERR_get_next_error_library);
57 LCRYPTO_USED(ERR_set_mark);
58 LCRYPTO_USED(ERR_pop_to_mark);
59 
60 #endif /* _LIBCRYPTO_ERR_H */
61