]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/objectserr.h
Regenerate mkerr files
[thirdparty/openssl.git] / include / openssl / objectserr.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
2a6a5607 3 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
52df25cf 4 *
48f4ad77 5 * Licensed under the Apache License 2.0 (the "License"). You may not use
52df25cf
RS
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
cbfa5b03
RS
14# include <openssl/opensslconf.h>
15# include <openssl/symhacks.h>
16
2a6a5607 17
52df25cf 18# ifdef __cplusplus
a699b8e4 19extern "C"
52df25cf
RS
20# endif
21int ERR_load_OBJ_strings(void);
52df25cf
RS
22
23/*
24 * OBJ function codes.
25 */
cbfa5b03
RS
26# if !OPENSSL_API_3
27# define OBJ_F_OBJ_ADD_OBJECT 0
28# define OBJ_F_OBJ_ADD_SIGID 0
29# define OBJ_F_OBJ_CREATE 0
30# define OBJ_F_OBJ_DUP 0
31# define OBJ_F_OBJ_NAME_NEW_INDEX 0
32# define OBJ_F_OBJ_NID2LN 0
33# define OBJ_F_OBJ_NID2OBJ 0
34# define OBJ_F_OBJ_NID2SN 0
35# define OBJ_F_OBJ_TXT2OBJ 0
36# endif
52df25cf
RS
37
38/*
39 * OBJ reason codes.
40 */
41# define OBJ_R_OID_EXISTS 102
42# define OBJ_R_UNKNOWN_NID 101
43
44#endif