]> git.ipfire.org Git - thirdparty/openssl.git/blob - include/openssl/objectserr.h
make error tables const and separate header file
[thirdparty/openssl.git] / include / openssl / objectserr.h
1 /*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
4 *
5 * Licensed under the OpenSSL license (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
11 #ifndef HEADER_OBJERR_H
12 # define HEADER_OBJERR_H
13
14 # ifdef __cplusplus
15 extern "C" {
16 # endif
17 int ERR_load_OBJ_strings(void);
18 # ifdef __cplusplus
19 }
20 # endif
21
22 /*
23 * OBJ function codes.
24 */
25 # define OBJ_F_OBJ_ADD_OBJECT 105
26 # define OBJ_F_OBJ_CREATE 100
27 # define OBJ_F_OBJ_DUP 101
28 # define OBJ_F_OBJ_NAME_NEW_INDEX 106
29 # define OBJ_F_OBJ_NID2LN 102
30 # define OBJ_F_OBJ_NID2OBJ 103
31 # define OBJ_F_OBJ_NID2SN 104
32
33 /*
34 * OBJ reason codes.
35 */
36 # define OBJ_R_OID_EXISTS 102
37 # define OBJ_R_UNKNOWN_NID 101
38
39 #endif