]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/asyncerr.h
Remove function name from errors
[thirdparty/openssl.git] / include / openssl / asyncerr.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
2a6a5607 3 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
52df25cf 4 *
48f4ad77 5 * Licensed under the Apache License 2.0 (the "License"). You may not use
52df25cf
RS
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
11#ifndef HEADER_ASYNCERR_H
12# define HEADER_ASYNCERR_H
13
2a6a5607
RS
14# ifndef HEADER_SYMHACKS_H
15# include <openssl/symhacks.h>
16# endif
17
52df25cf 18# ifdef __cplusplus
a699b8e4 19extern "C"
52df25cf
RS
20# endif
21int ERR_load_ASYNC_strings(void);
52df25cf
RS
22
23/*
24 * ASYNC function codes.
25 */
26# define ASYNC_F_ASYNC_CTX_NEW 100
27# define ASYNC_F_ASYNC_INIT_THREAD 101
28# define ASYNC_F_ASYNC_JOB_NEW 102
29# define ASYNC_F_ASYNC_PAUSE_JOB 103
30# define ASYNC_F_ASYNC_START_FUNC 104
31# define ASYNC_F_ASYNC_START_JOB 105
cdb10bae 32# define ASYNC_F_ASYNC_WAIT_CTX_SET_WAIT_FD 106
52df25cf
RS
33
34/*
35 * ASYNC reason codes.
36 */
37# define ASYNC_R_FAILED_TO_SET_POOL 101
38# define ASYNC_R_FAILED_TO_SWAP_CONTEXT 102
39# define ASYNC_R_INIT_FAILED 105
40# define ASYNC_R_INVALID_POOL_SIZE 103
41
42#endif