xref: /openbsd/lib/libcrypto/hidden/openssl/objects.h (revision 4bdff4be)
1 /* $OpenBSD: objects.h,v 1.2 2023/07/28 10:25:05 tb Exp $ */
2 /*
3  * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4  *
5  * Permission to use, copy, modify, and distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16  */
17 
18 #ifndef _LIBCRYPTO_OBJECTS_H
19 #define _LIBCRYPTO_OBJECTS_H
20 
21 #ifndef _MSC_VER
22 #include_next <openssl/objects.h>
23 #else
24 #include "../include/openssl/objects.h"
25 #endif
26 #include "crypto_namespace.h"
27 
28 LCRYPTO_USED(OBJ_NAME_init);
29 LCRYPTO_USED(OBJ_NAME_new_index);
30 LCRYPTO_USED(OBJ_NAME_get);
31 LCRYPTO_USED(OBJ_NAME_add);
32 LCRYPTO_USED(OBJ_NAME_remove);
33 LCRYPTO_USED(OBJ_NAME_cleanup);
34 LCRYPTO_USED(OBJ_NAME_do_all);
35 LCRYPTO_USED(OBJ_NAME_do_all_sorted);
36 LCRYPTO_USED(OBJ_dup);
37 LCRYPTO_USED(OBJ_nid2obj);
38 LCRYPTO_USED(OBJ_nid2ln);
39 LCRYPTO_USED(OBJ_nid2sn);
40 LCRYPTO_USED(OBJ_obj2nid);
41 LCRYPTO_USED(OBJ_txt2obj);
42 LCRYPTO_USED(OBJ_obj2txt);
43 LCRYPTO_USED(OBJ_txt2nid);
44 LCRYPTO_USED(OBJ_ln2nid);
45 LCRYPTO_USED(OBJ_sn2nid);
46 LCRYPTO_USED(OBJ_cmp);
47 LCRYPTO_USED(OBJ_bsearch_);
48 LCRYPTO_USED(OBJ_new_nid);
49 LCRYPTO_USED(OBJ_add_object);
50 LCRYPTO_USED(OBJ_create);
51 LCRYPTO_USED(OBJ_cleanup);
52 LCRYPTO_USED(OBJ_create_objects);
53 LCRYPTO_USED(OBJ_length);
54 LCRYPTO_USED(OBJ_get0_data);
55 LCRYPTO_USED(OBJ_find_sigid_algs);
56 LCRYPTO_USED(OBJ_find_sigid_by_algs);
57 LCRYPTO_USED(ERR_load_OBJ_strings);
58 
59 #endif /* _LIBCRYPTO_OBJECTS_H */
60