aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/lhash/lhash.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-07 23:43:21 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-07 23:43:21 +0000
commitbb7e632aef4ca511feb9f3dae29cccbab984c057 (patch)
tree6caf9a07192117ddefd4f8296a92a368e521214e /crypto/lhash/lhash.h
parent55d892e37383af203603cc6b4b949b5b8c617423 (diff)
downloadopenssl-bb7e632aef4ca511feb9f3dae29cccbab984c057.tar.gz
Constification of LHASH. Contributed by "Paul D. Smith" <psmith@gnu.org>
I didn't apply all his patches yet, since I have some hesitance about unconstifying. To be pondered.
Diffstat (limited to 'crypto/lhash/lhash.h')
-rw-r--r--crypto/lhash/lhash.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/crypto/lhash/lhash.h b/crypto/lhash/lhash.h
index b8ff021906..28e8f1ef0a 100644
--- a/crypto/lhash/lhash.h
+++ b/crypto/lhash/lhash.h
@@ -128,18 +128,18 @@ void *lh_retrieve(LHASH *lh, void *data);
void lh_doall(LHASH *lh, void (*func)(/*void *b*/));
void lh_doall_arg(LHASH *lh, void (*func)(/*void *a,void *b*/),void *arg);
unsigned long lh_strhash(const char *c);
-unsigned long lh_num_items(LHASH *lh);
+unsigned long lh_num_items(const LHASH *lh);
#ifndef NO_FP_API
-void lh_stats(LHASH *lh, FILE *out);
-void lh_node_stats(LHASH *lh, FILE *out);
-void lh_node_usage_stats(LHASH *lh, FILE *out);
+void lh_stats(const LHASH *lh, FILE *out);
+void lh_node_stats(const LHASH *lh, FILE *out);
+void lh_node_usage_stats(const LHASH *lh, FILE *out);
#endif
#ifndef NO_BIO
-void lh_stats_bio(LHASH *lh, BIO *out);
-void lh_node_stats_bio(LHASH *lh, BIO *out);
-void lh_node_usage_stats_bio(LHASH *lh, BIO *out);
+void lh_stats_bio(const LHASH *lh, BIO *out);
+void lh_node_stats_bio(const LHASH *lh, BIO *out);
+void lh_node_usage_stats_bio(const LHASH *lh, BIO *out);
#endif
#ifdef __cplusplus
}