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, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/lhash/lhash.h b/src/lib/libcrypto/lhash/lhash.h
index 6e5a1fe708..6f6eeb2698 100644
--- a/src/lib/libcrypto/lhash/lhash.h
+++ b/src/lib/libcrypto/lhash/lhash.h
@@ -73,7 +73,7 @@ extern "C" {
73 73
74typedef struct lhash_node_st 74typedef struct lhash_node_st
75 { 75 {
76 char *data; 76 void *data;
77 struct lhash_node_st *next; 77 struct lhash_node_st *next;
78#ifndef NO_HASH_COMP 78#ifndef NO_HASH_COMP
79 unsigned long hash; 79 unsigned long hash;
@@ -116,13 +116,13 @@ typedef struct lhash_st
116 * in lh_insert(). */ 116 * in lh_insert(). */
117#define lh_error(lh) ((lh)->error) 117#define lh_error(lh) ((lh)->error)
118 118
119LHASH *lh_new(unsigned long (*h)(), int (*c)()); 119LHASH *lh_new(unsigned long (*h)(/* void *a */), int (*c)(/* void *a,void *b */));
120void lh_free(LHASH *lh); 120void lh_free(LHASH *lh);
121char *lh_insert(LHASH *lh, char *data); 121void *lh_insert(LHASH *lh, void *data);
122char *lh_delete(LHASH *lh, char *data); 122void *lh_delete(LHASH *lh, void *data);
123char *lh_retrieve(LHASH *lh, char *data); 123void *lh_retrieve(LHASH *lh, void *data);
124void lh_doall(LHASH *lh, void (*func)(/* char *b */)); 124 void lh_doall(LHASH *lh, void (*func)(/*void *b*/));
125void lh_doall_arg(LHASH *lh, void (*func)(/*char *a,char *b*/),char *arg); 125void lh_doall_arg(LHASH *lh, void (*func)(/*void *a,void *b*/),void *arg);
126unsigned long lh_strhash(const char *c); 126unsigned long lh_strhash(const char *c);
127 127
128#ifndef NO_FP_API 128#ifndef NO_FP_API