summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/lhash/lhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/lhash/lhash.h')
-rw-r--r--src/lib/libcrypto/lhash/lhash.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/libcrypto/lhash/lhash.h b/src/lib/libcrypto/lhash/lhash.h
index d315fd9c6d..b8ff021906 100644
--- a/src/lib/libcrypto/lhash/lhash.h
+++ b/src/lib/libcrypto/lhash/lhash.h
@@ -63,14 +63,18 @@
63#ifndef HEADER_LHASH_H 63#ifndef HEADER_LHASH_H
64#define HEADER_LHASH_H 64#define HEADER_LHASH_H
65 65
66#ifdef __cplusplus
67extern "C" {
68#endif
69
70#ifndef NO_FP_API 66#ifndef NO_FP_API
71#include <stdio.h> 67#include <stdio.h>
72#endif 68#endif
73 69
70#ifndef NO_BIO
71#include <openssl/bio.h>
72#endif
73
74#ifdef __cplusplus
75extern "C" {
76#endif
77
74typedef struct lhash_node_st 78typedef struct lhash_node_st
75 { 79 {
76 void *data; 80 void *data;
@@ -132,7 +136,7 @@ void lh_node_stats(LHASH *lh, FILE *out);
132void lh_node_usage_stats(LHASH *lh, FILE *out); 136void lh_node_usage_stats(LHASH *lh, FILE *out);
133#endif 137#endif
134 138
135#ifdef HEADER_BIO_H 139#ifndef NO_BIO
136void lh_stats_bio(LHASH *lh, BIO *out); 140void lh_stats_bio(LHASH *lh, BIO *out);
137void lh_node_stats_bio(LHASH *lh, BIO *out); 141void lh_node_stats_bio(LHASH *lh, BIO *out);
138void lh_node_usage_stats_bio(LHASH *lh, BIO *out); 142void lh_node_usage_stats_bio(LHASH *lh, BIO *out);