summaryrefslogtreecommitdiff
path: root/x2p/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'x2p/hash.h')
-rw-r--r--x2p/hash.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/x2p/hash.h b/x2p/hash.h
index 5685e53259..f61a29f4e6 100644
--- a/x2p/hash.h
+++ b/x2p/hash.h
@@ -41,11 +41,12 @@ struct htbl {
HENT *tbl_eiter; /* current entry of iterator */
};
-STR *hfetch();
-bool hstore();
-bool hdelete();
-HASH *hnew();
-int hiterinit();
-HENT *hiternext();
-char *hiterkey();
-STR *hiterval();
+bool hdelete _((HASH *tb, char *key));
+STR * hfetch _(( HASH *tb, char *key ));
+int hiterinit _(( HASH *tb ));
+char * hiterkey _(( HENT *entry ));
+HENT * hiternext _(( HASH *tb ));
+STR * hiterval _(( HENT *entry ));
+HASH * hnew _(( void ));
+void hsplit _(( HASH *tb ));
+bool hstore _(( HASH *tb, char *key, STR *val ));