bioerr.h 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-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 OPENSSL_BIOERR_H
  11. # define OPENSSL_BIOERR_H
  12. # pragma once
  13. # include <openssl/opensslconf.h>
  14. # include <openssl/symhacks.h>
  15. # include <openssl/cryptoerr_legacy.h>
  16. /*
  17. * BIO reason codes.
  18. */
  19. # define BIO_R_ACCEPT_ERROR 100
  20. # define BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET 141
  21. # define BIO_R_AMBIGUOUS_HOST_OR_SERVICE 129
  22. # define BIO_R_BAD_FOPEN_MODE 101
  23. # define BIO_R_BROKEN_PIPE 124
  24. # define BIO_R_CONNECT_ERROR 103
  25. # define BIO_R_CONNECT_TIMEOUT 147
  26. # define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107
  27. # define BIO_R_GETSOCKNAME_ERROR 132
  28. # define BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS 133
  29. # define BIO_R_GETTING_SOCKTYPE 134
  30. # define BIO_R_INVALID_ARGUMENT 125
  31. # define BIO_R_INVALID_SOCKET 135
  32. # define BIO_R_IN_USE 123
  33. # define BIO_R_LENGTH_TOO_LONG 102
  34. # define BIO_R_LISTEN_V6_ONLY 136
  35. # define BIO_R_LOOKUP_RETURNED_NOTHING 142
  36. # define BIO_R_MALFORMED_HOST_OR_SERVICE 130
  37. # define BIO_R_NBIO_CONNECT_ERROR 110
  38. # define BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED 143
  39. # define BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED 144
  40. # define BIO_R_NO_PORT_DEFINED 113
  41. # define BIO_R_NO_SUCH_FILE 128
  42. # define BIO_R_NULL_PARAMETER 115 /* unused */
  43. # define BIO_R_TRANSFER_ERROR 104
  44. # define BIO_R_TRANSFER_TIMEOUT 105
  45. # define BIO_R_UNABLE_TO_BIND_SOCKET 117
  46. # define BIO_R_UNABLE_TO_CREATE_SOCKET 118
  47. # define BIO_R_UNABLE_TO_KEEPALIVE 137
  48. # define BIO_R_UNABLE_TO_LISTEN_SOCKET 119
  49. # define BIO_R_UNABLE_TO_NODELAY 138
  50. # define BIO_R_UNABLE_TO_REUSEADDR 139
  51. # define BIO_R_UNAVAILABLE_IP_FAMILY 145
  52. # define BIO_R_UNINITIALIZED 120
  53. # define BIO_R_UNKNOWN_INFO_TYPE 140
  54. # define BIO_R_UNSUPPORTED_IP_FAMILY 146
  55. # define BIO_R_UNSUPPORTED_METHOD 121
  56. # define BIO_R_UNSUPPORTED_PROTOCOL_FAMILY 131
  57. # define BIO_R_WRITE_TO_READ_ONLY_BIO 126
  58. # define BIO_R_WSASTARTUP 122
  59. #endif