X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fhashtable%2Fhashtable.h;h=4007a9c6c6b29696313415c60473f198cc859a6a;hb=39df6d9f42d8644d9ee25c8c02517b2cef6f5941;hp=f242e75e895c78ab22769468efca4aa3c074be95;hpb=852d003742c637d479f91767b853aa85eb0ef258;p=lttng-tools.git diff --git a/src/common/hashtable/hashtable.h b/src/common/hashtable/hashtable.h index f242e75e8..4007a9c6c 100644 --- a/src/common/hashtable/hashtable.h +++ b/src/common/hashtable/hashtable.h @@ -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);