gallium/hash_table: consolidate hash tables with FD keys
[mesa.git] / src / gallium / auxiliary / util / u_hash_table.h
index cf0c58cd2875125a44258e192b808ef16e9d8111..7db87c4367b6668f4d6487dd997250c15c714c50 100644 (file)
@@ -66,6 +66,13 @@ struct util_hash_table *
 util_hash_table_create_ptr_keys(void);
 
 
+/**
+ * Create a hash table where the keys are device FDs.
+ */
+struct util_hash_table *
+util_hash_table_create_fd_keys(void);
+
+
 enum pipe_error
 util_hash_table_set(struct util_hash_table *ht,
                     void *key,