]> git.ipfire.org Git - thirdparty/openssl.git/blob - include/openssl/objectserr.h
mkerr: remove legacy guards from generated error headers
[thirdparty/openssl.git] / include / openssl / objectserr.h
1 /*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
4 *
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
9 */
10
11 #ifndef OPENSSL_OBJECTSERR_H
12 # define OPENSSL_OBJECTSERR_H
13 # pragma once
14
15 # include <openssl/opensslconf.h>
16 # include <openssl/symhacks.h>
17
18
19 # ifdef __cplusplus
20 extern "C"
21 # endif
22 int ERR_load_OBJ_strings(void);
23
24 /*
25 * OBJ function codes.
26 */
27 # ifndef OPENSSL_NO_DEPRECATED_3_0
28 # define OBJ_F_OBJ_ADD_OBJECT 0
29 # define OBJ_F_OBJ_ADD_SIGID 0
30 # define OBJ_F_OBJ_CREATE 0
31 # define OBJ_F_OBJ_DUP 0
32 # define OBJ_F_OBJ_NAME_NEW_INDEX 0
33 # define OBJ_F_OBJ_NID2LN 0
34 # define OBJ_F_OBJ_NID2OBJ 0
35 # define OBJ_F_OBJ_NID2SN 0
36 # define OBJ_F_OBJ_TXT2OBJ 0
37 # endif
38
39 /*
40 * OBJ reason codes.
41 */
42 # define OBJ_R_OID_EXISTS 102
43 # define OBJ_R_UNKNOWN_NID 101
44
45 #endif