blob: a323c398f6e288b3db42685e08442b7a20146b14 [file] [log] [blame]
Rich Salzb6cff312016-05-17 17:38:18 -04001/*
2 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
Matt Caswell2d5d70b2015-06-16 12:59:37 +01003 *
Rich Salzb6cff312016-05-17 17:38:18 -04004 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10/*
11 * NOTE: this file was auto generated by the mkerr.pl script: any changes
12 * made to it will be overwritten when the script next updates this file,
13 * only reason strings will be preserved.
Matt Caswell2d5d70b2015-06-16 12:59:37 +010014 */
15
16#ifndef HEADER_OSSLTEST_ERR_H
17# define HEADER_OSSLTEST_ERR_H
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/* BEGIN ERROR CODES */
Matt Caswell2d5d70b2015-06-16 12:59:37 +010024static void ERR_load_OSSLTEST_strings(void);
25static void ERR_unload_OSSLTEST_strings(void);
26static void ERR_OSSLTEST_error(int function, int reason, char *file, int line);
David Woodhouse3ba84712016-02-17 17:04:47 -050027# define OSSLTESTerr(f,r) ERR_OSSLTEST_error((f),(r),OPENSSL_FILE,OPENSSL_LINE)
Matt Caswell2d5d70b2015-06-16 12:59:37 +010028
29/* Error codes for the OSSLTEST functions. */
30
31/* Function codes. */
32# define OSSLTEST_F_BIND_OSSLTEST 100
Matt Caswell51a60812015-09-22 08:54:43 +010033# define OSSLTEST_F_OSSLTEST_AES128_INIT_KEY 101
Matt Caswell2d5d70b2015-06-16 12:59:37 +010034
35/* Reason codes. */
36# define OSSLTEST_R_INIT_FAILED 100
37
38#ifdef __cplusplus
39}
40#endif
41#endif