asyncerr.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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_ASYNCERR_H
  11. # define OPENSSL_ASYNCERR_H
  12. # pragma once
  13. # include <openssl/macros.h>
  14. # if !OPENSSL_API_3
  15. # define HEADER_ASYNCERR_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_ASYNC_strings(void);
  23. /*
  24. * ASYNC function codes.
  25. */
  26. # if !OPENSSL_API_3
  27. # define ASYNC_F_ASYNC_CTX_NEW 0
  28. # define ASYNC_F_ASYNC_INIT_THREAD 0
  29. # define ASYNC_F_ASYNC_JOB_NEW 0
  30. # define ASYNC_F_ASYNC_PAUSE_JOB 0
  31. # define ASYNC_F_ASYNC_START_FUNC 0
  32. # define ASYNC_F_ASYNC_START_JOB 0
  33. # define ASYNC_F_ASYNC_WAIT_CTX_SET_WAIT_FD 0
  34. # endif
  35. /*
  36. * ASYNC reason codes.
  37. */
  38. # define ASYNC_R_FAILED_TO_SET_POOL 101
  39. # define ASYNC_R_FAILED_TO_SWAP_CONTEXT 102
  40. # define ASYNC_R_INIT_FAILED 105
  41. # define ASYNC_R_INVALID_POOL_SIZE 103
  42. #endif