Rich Salz | b6cff31 | 2016-05-17 17:38:18 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. |
Matt Caswell | 2d5d70b | 2015-06-16 12:59:37 +0100 | [diff] [blame] | 3 | * |
Rich Salz | b6cff31 | 2016-05-17 17:38:18 -0400 | [diff] [blame] | 4 | * 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 Caswell | 2d5d70b | 2015-06-16 12:59:37 +0100 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef HEADER_OSSLTEST_ERR_H |
| 17 | # define HEADER_OSSLTEST_ERR_H |
| 18 | |
| 19 | #ifdef __cplusplus |
| 20 | extern "C" { |
| 21 | #endif |
| 22 | |
| 23 | /* BEGIN ERROR CODES */ |
Matt Caswell | 2d5d70b | 2015-06-16 12:59:37 +0100 | [diff] [blame] | 24 | static void ERR_load_OSSLTEST_strings(void); |
| 25 | static void ERR_unload_OSSLTEST_strings(void); |
| 26 | static void ERR_OSSLTEST_error(int function, int reason, char *file, int line); |
David Woodhouse | 3ba8471 | 2016-02-17 17:04:47 -0500 | [diff] [blame] | 27 | # define OSSLTESTerr(f,r) ERR_OSSLTEST_error((f),(r),OPENSSL_FILE,OPENSSL_LINE) |
Matt Caswell | 2d5d70b | 2015-06-16 12:59:37 +0100 | [diff] [blame] | 28 | |
| 29 | /* Error codes for the OSSLTEST functions. */ |
| 30 | |
| 31 | /* Function codes. */ |
| 32 | # define OSSLTEST_F_BIND_OSSLTEST 100 |
Matt Caswell | 51a6081 | 2015-09-22 08:54:43 +0100 | [diff] [blame] | 33 | # define OSSLTEST_F_OSSLTEST_AES128_INIT_KEY 101 |
Matt Caswell | 2d5d70b | 2015-06-16 12:59:37 +0100 | [diff] [blame] | 34 | |
| 35 | /* Reason codes. */ |
| 36 | # define OSSLTEST_R_INIT_FAILED 100 |
| 37 | |
| 38 | #ifdef __cplusplus |
| 39 | } |
| 40 | #endif |
| 41 | #endif |