unistr/u8-chr, unistr/u8-strchr: Optimize and add comments.
[pspp] / lib / hash.h
index 6c71d4dfaa4728a4f272f4dfe41d5065bb54a338..5f91e999bd145941c8b5957e9bc9b8c3ad3df4d4 100644 (file)
@@ -1,5 +1,6 @@
 /* hash - hashing table processing.
-   Copyright (C) 1998-1999, 2001, 2003, 2009 Free Software Foundation, Inc.
+   Copyright (C) 1998-1999, 2001, 2003, 2009-2010 Free Software Foundation,
+   Inc.
    Written by Jim Meyering <meyering@ascend.com>, 1998.
 
    This program is free software: you can redistribute it and/or modify
@@ -87,6 +88,8 @@ void hash_free (Hash_table *);
 /* Insertion and deletion.  */
 bool hash_rehash (Hash_table *, size_t) ATTRIBUTE_WUR;
 void *hash_insert (Hash_table *, const void *) ATTRIBUTE_WUR;
+int hash_insert0 (Hash_table *table, const void *entry,
+                  const void **matched_ent);
 void *hash_delete (Hash_table *, const void *);
 
 #endif