2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
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
11 #include <openssl/err.h>
12 #include "e_dasync_err.h"
14 #ifndef OPENSSL_NO_ERR
16 static ERR_STRING_DATA DASYNC_str_reasons
[] = {
17 {ERR_PACK(0, 0, DASYNC_R_INIT_FAILED
), "init failed"},
23 static int lib_code
= 0;
24 static int error_loaded
= 0;
26 static int ERR_load_DASYNC_strings(void)
29 lib_code
= ERR_get_next_error_library();
32 #ifndef OPENSSL_NO_ERR
33 ERR_load_strings(lib_code
, DASYNC_str_reasons
);
40 static void ERR_unload_DASYNC_strings(void)
43 #ifndef OPENSSL_NO_ERR
44 ERR_unload_strings(lib_code
, DASYNC_str_reasons
);
50 static void ERR_DASYNC_error(int function
, int reason
, const char *file
, int line
)
53 lib_code
= ERR_get_next_error_library();
54 ERR_raise(lib_code
, reason
);
55 ERR_set_debug(file
, line
, NULL
);