dsoerr.h 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 2020 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 err_load_DSO_strings_int(void);
  19. /*
  20. * DSO function codes.
  21. */
  22. # ifndef OPENSSL_NO_DEPRECATED_3_0
  23. # define DSO_F_DLFCN_BIND_FUNC 0
  24. # define DSO_F_DLFCN_LOAD 0
  25. # define DSO_F_DLFCN_MERGER 0
  26. # define DSO_F_DLFCN_NAME_CONVERTER 0
  27. # define DSO_F_DLFCN_UNLOAD 0
  28. # define DSO_F_DL_BIND_FUNC 0
  29. # define DSO_F_DL_LOAD 0
  30. # define DSO_F_DL_MERGER 0
  31. # define DSO_F_DL_NAME_CONVERTER 0
  32. # define DSO_F_DL_UNLOAD 0
  33. # define DSO_F_DSO_BIND_FUNC 0
  34. # define DSO_F_DSO_CONVERT_FILENAME 0
  35. # define DSO_F_DSO_CTRL 0
  36. # define DSO_F_DSO_FREE 0
  37. # define DSO_F_DSO_GET_FILENAME 0
  38. # define DSO_F_DSO_GLOBAL_LOOKUP 0
  39. # define DSO_F_DSO_LOAD 0
  40. # define DSO_F_DSO_MERGE 0
  41. # define DSO_F_DSO_NEW_METHOD 0
  42. # define DSO_F_DSO_PATHBYADDR 0
  43. # define DSO_F_DSO_SET_FILENAME 0
  44. # define DSO_F_DSO_UP_REF 0
  45. # define DSO_F_VMS_BIND_SYM 0
  46. # define DSO_F_VMS_LOAD 0
  47. # define DSO_F_VMS_MERGER 0
  48. # define DSO_F_VMS_UNLOAD 0
  49. # define DSO_F_WIN32_BIND_FUNC 0
  50. # define DSO_F_WIN32_GLOBALLOOKUP 0
  51. # define DSO_F_WIN32_JOINER 0
  52. # define DSO_F_WIN32_LOAD 0
  53. # define DSO_F_WIN32_MERGER 0
  54. # define DSO_F_WIN32_NAME_CONVERTER 0
  55. # define DSO_F_WIN32_PATHBYADDR 0
  56. # define DSO_F_WIN32_SPLITTER 0
  57. # define DSO_F_WIN32_UNLOAD 0
  58. # endif
  59. /*
  60. * DSO reason codes.
  61. */
  62. # define DSO_R_CTRL_FAILED 100
  63. # define DSO_R_DSO_ALREADY_LOADED 110
  64. # define DSO_R_EMPTY_FILE_STRUCTURE 113
  65. # define DSO_R_FAILURE 114
  66. # define DSO_R_FILENAME_TOO_BIG 101
  67. # define DSO_R_FINISH_FAILED 102
  68. # define DSO_R_INCORRECT_FILE_SYNTAX 115
  69. # define DSO_R_LOAD_FAILED 103
  70. # define DSO_R_NAME_TRANSLATION_FAILED 109
  71. # define DSO_R_NO_FILENAME 111
  72. # define DSO_R_NULL_HANDLE 104
  73. # define DSO_R_SET_FILENAME_FAILED 112
  74. # define DSO_R_STACK_ERROR 105
  75. # define DSO_R_SYM_FAILURE 106
  76. # define DSO_R_UNLOAD_FAILED 107
  77. # define DSO_R_UNSUPPORTED 108
  78. # ifdef __cplusplus
  79. }
  80. # endif
  81. #endif