diff options
Diffstat (limited to 'src/lib/libcrypto/lhash/lhash.h')
-rw-r--r-- | src/lib/libcrypto/lhash/lhash.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libcrypto/lhash/lhash.h b/src/lib/libcrypto/lhash/lhash.h index 9c63657396..8db0174a61 100644 --- a/src/lib/libcrypto/lhash/lhash.h +++ b/src/lib/libcrypto/lhash/lhash.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: lhash.h,v 1.12 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: lhash.h,v 1.13 2024/03/02 11:04:51 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 | * |
@@ -179,16 +179,6 @@ void lh_doall_arg(_LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg); | |||
179 | unsigned long lh_strhash(const char *c); | 179 | unsigned long lh_strhash(const char *c); |
180 | unsigned long lh_num_items(const _LHASH *lh); | 180 | unsigned long lh_num_items(const _LHASH *lh); |
181 | 181 | ||
182 | void lh_stats(const _LHASH *lh, FILE *out); | ||
183 | void lh_node_stats(const _LHASH *lh, FILE *out); | ||
184 | void lh_node_usage_stats(const _LHASH *lh, FILE *out); | ||
185 | |||
186 | #ifndef OPENSSL_NO_BIO | ||
187 | void lh_stats_bio(const _LHASH *lh, BIO *out); | ||
188 | void lh_node_stats_bio(const _LHASH *lh, BIO *out); | ||
189 | void lh_node_usage_stats_bio(const _LHASH *lh, BIO *out); | ||
190 | #endif | ||
191 | |||
192 | /* Type checking... */ | 182 | /* Type checking... */ |
193 | 183 | ||
194 | #define LHASH_OF(type) struct lhash_st_##type | 184 | #define LHASH_OF(type) struct lhash_st_##type |
@@ -217,12 +207,6 @@ void lh_node_usage_stats_bio(const _LHASH *lh, BIO *out); | |||
217 | lh_doall_arg(CHECKED_LHASH_OF(type, lh), fn, CHECKED_PTR_OF(arg_type, arg)) | 207 | lh_doall_arg(CHECKED_LHASH_OF(type, lh), fn, CHECKED_PTR_OF(arg_type, arg)) |
218 | #define LHM_lh_num_items(type, lh) lh_num_items(CHECKED_LHASH_OF(type, lh)) | 208 | #define LHM_lh_num_items(type, lh) lh_num_items(CHECKED_LHASH_OF(type, lh)) |
219 | #define LHM_lh_down_load(type, lh) (CHECKED_LHASH_OF(type, lh)->down_load) | 209 | #define LHM_lh_down_load(type, lh) (CHECKED_LHASH_OF(type, lh)->down_load) |
220 | #define LHM_lh_node_stats_bio(type, lh, out) \ | ||
221 | lh_node_stats_bio(CHECKED_LHASH_OF(type, lh), out) | ||
222 | #define LHM_lh_node_usage_stats_bio(type, lh, out) \ | ||
223 | lh_node_usage_stats_bio(CHECKED_LHASH_OF(type, lh), out) | ||
224 | #define LHM_lh_stats_bio(type, lh, out) \ | ||
225 | lh_stats_bio(CHECKED_LHASH_OF(type, lh), out) | ||
226 | #define LHM_lh_free(type, lh) lh_free(CHECKED_LHASH_OF(type, lh)) | 210 | #define LHM_lh_free(type, lh) lh_free(CHECKED_LHASH_OF(type, lh)) |
227 | 211 | ||
228 | DECLARE_LHASH_OF(OPENSSL_STRING); | 212 | DECLARE_LHASH_OF(OPENSSL_STRING); |