Fix: RCU hash table seed
[lttng-tools.git] / src / common / hashtable / hashtable.h
index f242e75e895c78ab22769468efca4aa3c074be95..4007a9c6c6b29696313415c60473f198cc859a6a 100644 (file)
@@ -23,6 +23,8 @@
 #include "rculfhash.h"
 #include "rculfhash-internal.h"
 
+extern unsigned long lttng_ht_seed;
+
 typedef unsigned long (*hash_fct)(void *_key, unsigned long seed);
 typedef cds_lfht_match_fct hash_match_fct;
 
@@ -74,6 +76,8 @@ extern void lttng_ht_add_unique_ulong(struct lttng_ht *ht,
                struct lttng_ht_node_ulong *node);
 extern struct lttng_ht_node_ulong *lttng_ht_add_replace_ulong(
                struct lttng_ht *ht, struct lttng_ht_node_ulong *node);
+extern void lttng_ht_add_ulong(struct lttng_ht *ht,
+               struct lttng_ht_node_ulong *node);
 
 extern int lttng_ht_del(struct lttng_ht *ht, struct lttng_ht_iter *iter);
 
This page took 0.023127 seconds and 4 git commands to generate.