dsoerr.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
  4. *
  5. * Licensed under the Apache License 2.0 (the "License"). You may not use
  6. * this file except in compliance with the License. You can obtain a copy
  7. * in the file LICENSE in the source distribution or at
  8. * https://www.openssl.org/source/license.html
  9. */
  10. #ifndef OSSL_INTERNAL_DSOERR_H
  11. # define OSSL_INTERNAL_DSOERR_H
  12. # pragma once
  13. # include <openssl/opensslconf.h>
  14. # include <openssl/symhacks.h>
  15. # ifdef __cplusplus
  16. extern "C" {
  17. # endif
  18. int ossl_err_load_DSO_strings(void);
  19. /*
  20. * DSO reason codes.
  21. */
  22. # define DSO_R_CTRL_FAILED 100
  23. # define DSO_R_DSO_ALREADY_LOADED 110
  24. # define DSO_R_EMPTY_FILE_STRUCTURE 113
  25. # define DSO_R_FAILURE 114
  26. # define DSO_R_FILENAME_TOO_BIG 101
  27. # define DSO_R_FINISH_FAILED 102
  28. # define DSO_R_INCORRECT_FILE_SYNTAX 115
  29. # define DSO_R_LOAD_FAILED 103
  30. # define DSO_R_NAME_TRANSLATION_FAILED 109
  31. # define DSO_R_NO_FILENAME 111
  32. # define DSO_R_NULL_HANDLE 104
  33. # define DSO_R_SET_FILENAME_FAILED 112
  34. # define DSO_R_STACK_ERROR 105
  35. # define DSO_R_SYM_FAILURE 106
  36. # define DSO_R_UNLOAD_FAILED 107
  37. # define DSO_R_UNSUPPORTED 108
  38. # ifdef __cplusplus
  39. }
  40. # endif
  41. #endif