summaryrefslogtreecommitdiffstats
path: root/include/hashtab.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-06-30 23:02:54 +0000
committerDJ Delorie <dj@redhat.com>2005-06-30 23:02:54 +0000
commit371e383f8996e8d4c22e0a52898cb433bdcd066f (patch)
tree4c7a4ac55f44cd7f99c6c3fe5d394e7170a2eafc /include/hashtab.h
parentf2abf3173b6993f20f3133372600a17dff607298 (diff)
downloadcygnal-371e383f8996e8d4c22e0a52898cb433bdcd066f.tar.gz
cygnal-371e383f8996e8d4c22e0a52898cb433bdcd066f.tar.bz2
cygnal-371e383f8996e8d4c22e0a52898cb433bdcd066f.zip
merge from gcc
Diffstat (limited to 'include/hashtab.h')
-rw-r--r--include/hashtab.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/hashtab.h b/include/hashtab.h
index 122ff9d65..77eee14e9 100644
--- a/include/hashtab.h
+++ b/include/hashtab.h
@@ -81,6 +81,15 @@ typedef void (*htab_free) (void *);
typedef void *(*htab_alloc_with_arg) (void *, size_t, size_t);
typedef void (*htab_free_with_arg) (void *, void *);
+/* This macro defines reserved value for empty table entry. */
+
+#define HTAB_EMPTY_ENTRY ((PTR) 0)
+
+/* This macro defines reserved value for table entry which contained
+ a deleted element. */
+
+#define HTAB_DELETED_ENTRY ((PTR) 1)
+
/* Hash tables are of the following type. The structure
(implementation) of this type is not needed for using the hash
tables. All work with hash table should be executed only through