Imported from ../bash-2.0.tar.gz.
[platform/upstream/bash.git] / hashlib.h
similarity index 92%
rename from hash.h
rename to hashlib.h
index 5458787..95a9164 100644 (file)
--- a/hash.h
+++ b/hashlib.h
@@ -1,4 +1,4 @@
-/* hash.h -- the data structures used in hashing in Bash. */
+/* hashlib.h -- the data structures used in hashing in Bash. */
 
 /* Copyright (C) 1993 Free Software Foundation, Inc.
 
@@ -18,8 +18,8 @@
    with Bash; see the file COPYING.  If not, write to the Free Software
    Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
 
-#if !defined (_HASH_H_)
-#define _HASH_H_
+#if !defined (_HASHLIB_H_)
+#define _HASHLIB_H_
 
 typedef struct bucket_contents {
   struct bucket_contents *next;        /* Link to next hashed key in this bucket. */
@@ -40,6 +40,7 @@ extern BUCKET_CONTENTS *find_hash_item ();
 extern BUCKET_CONTENTS *remove_hash_item ();
 extern BUCKET_CONTENTS *add_hash_item ();
 extern BUCKET_CONTENTS *get_hash_bucket ();
+extern void flush_hash_table ();
 
 /* Redefine the function as a macro for speed. */
 #define get_hash_bucket(bucket, table) \
@@ -58,4 +59,4 @@ extern BUCKET_CONTENTS *get_hash_bucket ();
 #  endif /* !__STDC__ */
 #endif /* !NULL */
 
-#endif /* _HASH_H */
+#endif /* _HASHLIB_H */