aboutsummaryrefslogtreecommitdiff
path: root/src/include/lib/dshash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/lib/dshash.h')
-rw-r--r--src/include/lib/dshash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/lib/dshash.h b/src/include/lib/dshash.h
index 152927742e8..ece55521226 100644
--- a/src/include/lib/dshash.h
+++ b/src/include/lib/dshash.h
@@ -23,6 +23,9 @@ typedef struct dshash_table dshash_table;
/* A handle for a dshash_table which can be shared with other processes. */
typedef dsa_pointer dshash_table_handle;
+/* Sentinel value to use for invalid dshash_table handles. */
+#define DSHASH_HANDLE_INVALID ((dshash_table_handle) InvalidDsaPointer)
+
/* The type for hash values. */
typedef uint32 dshash_hash;