asyncerr.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2018 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 HEADER_ASYNCERR_H
  11. # define HEADER_ASYNCERR_H
  12. # ifdef __cplusplus
  13. extern "C"
  14. # endif
  15. int ERR_load_ASYNC_strings(void);
  16. /*
  17. * ASYNC function codes.
  18. */
  19. # define ASYNC_F_ASYNC_CTX_NEW 100
  20. # define ASYNC_F_ASYNC_INIT_THREAD 101
  21. # define ASYNC_F_ASYNC_JOB_NEW 102
  22. # define ASYNC_F_ASYNC_PAUSE_JOB 103
  23. # define ASYNC_F_ASYNC_START_FUNC 104
  24. # define ASYNC_F_ASYNC_START_JOB 105
  25. # define ASYNC_F_ASYNC_WAIT_CTX_SET_WAIT_FD 106
  26. /*
  27. * ASYNC reason codes.
  28. */
  29. # define ASYNC_R_FAILED_TO_SET_POOL 101
  30. # define ASYNC_R_FAILED_TO_SWAP_CONTEXT 102
  31. # define ASYNC_R_INIT_FAILED 105
  32. # define ASYNC_R_INVALID_POOL_SIZE 103
  33. #endif