Fix: RCU hash table seed
[lttng-tools.git] / src / common / hashtable / hashtable.h
index d2d6979bae1682c22515acbf8f413e939d1dca8f..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;
 
@@ -72,7 +74,9 @@ extern void lttng_ht_add_unique_str(struct lttng_ht *ht,
                struct lttng_ht_node_str *node);
 extern void lttng_ht_add_unique_ulong(struct lttng_ht *ht,
                struct lttng_ht_node_ulong *node);
-struct lttng_ht_node_ulong *lttng_ht_add_replace_ulong(struct lttng_ht *ht,
+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.024146 seconds and 4 git commands to generate.