uierr.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2019 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 OPENSSL_UIERR_H
  11. # define OPENSSL_UIERR_H
  12. # pragma once
  13. # include <openssl/macros.h>
  14. # if !OPENSSL_API_3
  15. # define HEADER_UIERR_H
  16. # endif
  17. # include <openssl/opensslconf.h>
  18. # include <openssl/symhacks.h>
  19. # ifdef __cplusplus
  20. extern "C"
  21. # endif
  22. int ERR_load_UI_strings(void);
  23. /*
  24. * UI function codes.
  25. */
  26. # if !OPENSSL_API_3
  27. # define UI_F_CLOSE_CONSOLE 0
  28. # define UI_F_ECHO_CONSOLE 0
  29. # define UI_F_GENERAL_ALLOCATE_BOOLEAN 0
  30. # define UI_F_GENERAL_ALLOCATE_PROMPT 0
  31. # define UI_F_NOECHO_CONSOLE 0
  32. # define UI_F_OPEN_CONSOLE 0
  33. # define UI_F_UI_CONSTRUCT_PROMPT 0
  34. # define UI_F_UI_CREATE_METHOD 0
  35. # define UI_F_UI_CTRL 0
  36. # define UI_F_UI_DUP_ERROR_STRING 0
  37. # define UI_F_UI_DUP_INFO_STRING 0
  38. # define UI_F_UI_DUP_INPUT_BOOLEAN 0
  39. # define UI_F_UI_DUP_INPUT_STRING 0
  40. # define UI_F_UI_DUP_USER_DATA 0
  41. # define UI_F_UI_DUP_VERIFY_STRING 0
  42. # define UI_F_UI_GET0_RESULT 0
  43. # define UI_F_UI_GET_RESULT_LENGTH 0
  44. # define UI_F_UI_NEW_METHOD 0
  45. # define UI_F_UI_PROCESS 0
  46. # define UI_F_UI_SET_RESULT 0
  47. # define UI_F_UI_SET_RESULT_EX 0
  48. # endif
  49. /*
  50. * UI reason codes.
  51. */
  52. # define UI_R_COMMON_OK_AND_CANCEL_CHARACTERS 104
  53. # define UI_R_INDEX_TOO_LARGE 102
  54. # define UI_R_INDEX_TOO_SMALL 103
  55. # define UI_R_NO_RESULT_BUFFER 105
  56. # define UI_R_PROCESSING_ERROR 107
  57. # define UI_R_RESULT_TOO_LARGE 100
  58. # define UI_R_RESULT_TOO_SMALL 101
  59. # define UI_R_SYSASSIGN_ERROR 109
  60. # define UI_R_SYSDASSGN_ERROR 110
  61. # define UI_R_SYSQIOW_ERROR 111
  62. # define UI_R_UNKNOWN_CONTROL_COMMAND 106
  63. # define UI_R_UNKNOWN_TTYGET_ERRNO_VALUE 108
  64. # define UI_R_USER_DATA_DUPLICATION_UNSUPPORTED 112
  65. #endif