Missing static declarations
[p5sagit/p5-mst-13.2.git] / x2p / hash.h
index 06d803a..bcab1ef 100644 (file)
@@ -1,9 +1,12 @@
-/* $Header: hash.h,v 1.0 87/12/18 13:07:23 root Exp $
+/* $RCSfile: hash.h,v $$Revision: 4.1 $$Date: 92/08/07 18:29:21 $
+ *
+ *    Copyright (C) 1991, 1992, 1993, 1994, 1995, 1999, 2000,
+ *    by Larry Wall and others
+ *
+ *    You may distribute under the terms of either the GNU General Public
+ *    License or the Artistic License, as specified in the README file.
  *
  * $Log:       hash.h,v $
- * Revision 1.0  87/12/18  13:07:23  root
- * Initial revision
- * 
  */
 
 #define FILLPCT 60             /* don't make greater than 99 */
@@ -39,11 +42,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 );