X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fhashtable%2Fhashtable.h;h=4a8a2bd5c53a184b40ebe5484213816934a80300;hp=b4c1909b79796fe1a84b4714664939697a5488b2;hb=efa116c6f19ecdc344a82709e7d919703ec96c45;hpb=d88aee689d5bd0067f362a323cb69c37717df59f diff --git a/src/common/hashtable/hashtable.h b/src/common/hashtable/hashtable.h index b4c1909b7..4a8a2bd5c 100644 --- a/src/common/hashtable/hashtable.h +++ b/src/common/hashtable/hashtable.h @@ -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,