Add support for non unique add string in hashtable
[lttng-tools.git] / src / common / hashtable / hashtable.h
index b4c1909b79796fe1a84b4714664939697a5488b2..4a8a2bd5c53a184b40ebe5484213816934a80300 100644 (file)
@@ -75,7 +75,7 @@ extern void lttng_ht_node_init_u64(struct lttng_ht_node_u64 *node,
                uint64_t key);
 extern void lttng_ht_node_free_str(struct lttng_ht_node_str *node);
 extern void lttng_ht_node_free_ulong(struct lttng_ht_node_ulong *node);
-extern void lttng_ht_node_free_u64(struct lttng_ht_node_ulong *node);
+extern void lttng_ht_node_free_u64(struct lttng_ht_node_u64 *node);
 
 extern void lttng_ht_lookup(struct lttng_ht *ht, void *key,
                struct lttng_ht_iter *iter);
@@ -91,6 +91,8 @@ extern struct lttng_ht_node_ulong *lttng_ht_add_replace_ulong(
                struct lttng_ht *ht, struct lttng_ht_node_ulong *node);
 extern struct lttng_ht_node_u64 *lttng_ht_add_replace_u64(
                struct lttng_ht *ht, struct lttng_ht_node_u64 *node);
+extern void lttng_ht_add_str(struct lttng_ht *ht,
+               struct lttng_ht_node_str *node);
 extern void lttng_ht_add_ulong(struct lttng_ht *ht,
                struct lttng_ht_node_ulong *node);
 extern void lttng_ht_add_u64(struct lttng_ht *ht,
This page took 0.023331 seconds and 4 git commands to generate.