diff options
Diffstat (limited to 'src/lib/libcrypto/objects')
-rw-r--r-- | src/lib/libcrypto/objects/objects.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/libcrypto/objects/objects.h b/src/lib/libcrypto/objects/objects.h index 451545e056..37570a5c80 100644 --- a/src/lib/libcrypto/objects/objects.h +++ b/src/lib/libcrypto/objects/objects.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: objects.h,v 1.23 2023/07/28 10:25:05 tb Exp $ */ | 1 | /* $OpenBSD: objects.h,v 1.24 2024/03/02 09:41:02 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -94,15 +94,6 @@ typedef struct obj_name_st { | |||
94 | 94 | ||
95 | #define OBJ_create_and_add_object(a,b,c) OBJ_create(a,b,c) | 95 | #define OBJ_create_and_add_object(a,b,c) OBJ_create(a,b,c) |
96 | 96 | ||
97 | |||
98 | int OBJ_NAME_init(void); | ||
99 | int OBJ_NAME_new_index(unsigned long (*hash_func)(const char *), | ||
100 | int (*cmp_func)(const char *, const char *), | ||
101 | void (*free_func)(const char *, int, const char *)); | ||
102 | const char *OBJ_NAME_get(const char *name, int type); | ||
103 | int OBJ_NAME_add(const char *name, int type, const char *data); | ||
104 | int OBJ_NAME_remove(const char *name, int type); | ||
105 | void OBJ_NAME_cleanup(int type); /* -1 for everything */ | ||
106 | void OBJ_NAME_do_all(int type, void (*fn)(const OBJ_NAME *, void *arg), | 97 | void OBJ_NAME_do_all(int type, void (*fn)(const OBJ_NAME *, void *arg), |
107 | void *arg); | 98 | void *arg); |
108 | void OBJ_NAME_do_all_sorted(int type, void (*fn)(const OBJ_NAME *, void *arg), | 99 | void OBJ_NAME_do_all_sorted(int type, void (*fn)(const OBJ_NAME *, void *arg), |