xref: /netbsd-src/crypto/external/bsd/openssl/dist/include/internal/dsoerr.h (revision b0d1725196a7921d003d2c66a14f186abda4176b)
113d40330Schristos /*
213d40330Schristos  * Generated by util/mkerr.pl DO NOT EDIT
3*b0d17251Schristos  * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
413d40330Schristos  *
5*b0d17251Schristos  * Licensed under the Apache License 2.0 (the "License").  You may not use
613d40330Schristos  * this file except in compliance with the License.  You can obtain a copy
713d40330Schristos  * in the file LICENSE in the source distribution or at
813d40330Schristos  * https://www.openssl.org/source/license.html
913d40330Schristos  */
1013d40330Schristos 
117d004720Schristos #ifndef OSSL_INTERNAL_DSOERR_H
127d004720Schristos # define OSSL_INTERNAL_DSOERR_H
13*b0d17251Schristos # pragma once
1413d40330Schristos 
15*b0d17251Schristos # include <openssl/opensslconf.h>
164ce06407Schristos # include <openssl/symhacks.h>
1713d40330Schristos 
1813d40330Schristos # ifdef  __cplusplus
19*b0d17251Schristos extern "C" {
2013d40330Schristos # endif
2113d40330Schristos 
22*b0d17251Schristos int ossl_err_load_DSO_strings(void);
2313d40330Schristos 
2413d40330Schristos /*
2513d40330Schristos  * DSO reason codes.
2613d40330Schristos  */
2713d40330Schristos # define DSO_R_CTRL_FAILED                                100
2813d40330Schristos # define DSO_R_DSO_ALREADY_LOADED                         110
2913d40330Schristos # define DSO_R_EMPTY_FILE_STRUCTURE                       113
3013d40330Schristos # define DSO_R_FAILURE                                    114
3113d40330Schristos # define DSO_R_FILENAME_TOO_BIG                           101
3213d40330Schristos # define DSO_R_FINISH_FAILED                              102
3313d40330Schristos # define DSO_R_INCORRECT_FILE_SYNTAX                      115
3413d40330Schristos # define DSO_R_LOAD_FAILED                                103
3513d40330Schristos # define DSO_R_NAME_TRANSLATION_FAILED                    109
3613d40330Schristos # define DSO_R_NO_FILENAME                                111
3713d40330Schristos # define DSO_R_NULL_HANDLE                                104
3813d40330Schristos # define DSO_R_SET_FILENAME_FAILED                        112
3913d40330Schristos # define DSO_R_STACK_ERROR                                105
4013d40330Schristos # define DSO_R_SYM_FAILURE                                106
4113d40330Schristos # define DSO_R_UNLOAD_FAILED                              107
4213d40330Schristos # define DSO_R_UNSUPPORTED                                108
4313d40330Schristos 
44*b0d17251Schristos 
45*b0d17251Schristos # ifdef  __cplusplus
46*b0d17251Schristos }
47*b0d17251Schristos # endif
4813d40330Schristos #endif
49