summaryrefslogtreecommitdiff
path: root/hashtable.h
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2015-03-31 13:24:26 -0500
committerepochqwert <epoch@hacking.allowed.org>2015-03-31 13:24:26 -0500
commit8248b0d0feb145ec1c2a28dee5af44c4d7a25690 (patch)
tree36ffe1b698b42711ce5d5e3d2a38e888abcb9bfb /hashtable.h
parent5fc8d2a2fbbe55fb3f92c4edd216f9e96d21a288 (diff)
downloadlibhashtable-8248b0d0feb145ec1c2a28dee5af44c4d7a25690.tar.gz
libhashtable-8248b0d0feb145ec1c2a28dee5af44c4d7a25690.zip
fixed up pedantic stuff.
Diffstat (limited to 'hashtable.h')
-rw-r--r--hashtable.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/hashtable.h b/hashtable.h
index a58a392..60d1b50 100644
--- a/hashtable.h
+++ b/hashtable.h
@@ -21,7 +21,8 @@ void ll_destroy(struct entry *ll);
void ht_destroy(struct hashtable *ht);
void ht_freevalues(struct hashtable *ht);
int ht_setkey(struct hashtable *ht,char *key,void *value);
-struct entry *ll_getentry(struct entry *start,char *msg);
+struct entry *ll_getentry(struct entry *start,char *key);
struct entry *ht_getentry(struct hashtable *ht,char *key);
-struct entry *ht_getnode(struct hashtable *ht,char *msg);
-void *ht_getvalue(struct hashtable *ht,char *msg);
+struct entry *ht_getnode(struct hashtable *ht,char *key);
+void *ht_getvalue(struct hashtable *ht,char *key);
+void ht_delete(struct hashtable *ht,char *key);