asyncerr.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 OpenSSL license (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 HEADER_ASYNCERR_H
  11. # define HEADER_ASYNCERR_H
  12. # ifndef HEADER_SYMHACKS_H
  13. # include <openssl/symhacks.h>
  14. # endif
  15. # ifdef __cplusplus
  16. extern "C"
  17. # endif
  18. int ERR_load_ASYNC_strings(void);
  19. /*
  20. * ASYNC function codes.
  21. */
  22. # define ASYNC_F_ASYNC_CTX_NEW 100
  23. # define ASYNC_F_ASYNC_INIT_THREAD 101
  24. # define ASYNC_F_ASYNC_JOB_NEW 102
  25. # define ASYNC_F_ASYNC_PAUSE_JOB 103
  26. # define ASYNC_F_ASYNC_START_FUNC 104
  27. # define ASYNC_F_ASYNC_START_JOB 105
  28. # define ASYNC_F_ASYNC_WAIT_CTX_SET_WAIT_FD 106
  29. /*
  30. * ASYNC reason codes.
  31. */
  32. # define ASYNC_R_FAILED_TO_SET_POOL 101
  33. # define ASYNC_R_FAILED_TO_SWAP_CONTEXT 102
  34. # define ASYNC_R_INIT_FAILED 105
  35. # define ASYNC_R_INVALID_POOL_SIZE 103
  36. #endif