X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=urcu%2Frcuja.h;h=e66ce7e9288095458377ca35eba046ce18959780;hb=c6cd5af33ff0ac5cbce33be352ec9bfd2262cbc1;hp=9a006a395bcc31a3748acd42e134036a5a5e4254;hpb=d553beef47f7dfb7e60af14a93e34f60940207ea;p=userspace-rcu.git diff --git a/urcu/rcuja.h b/urcu/rcuja.h index 9a006a3..e66ce7e 100644 --- a/urcu/rcuja.h +++ b/urcu/rcuja.h @@ -58,10 +58,15 @@ void cds_ja_node_init(struct cds_ja_node *node) } struct cds_hlist_head cds_ja_lookup(struct cds_ja *ja, uint64_t key); +struct cds_hlist_head cds_ja_lookup_lower_equal(struct cds_ja *ja, + uint64_t key); int cds_ja_add(struct cds_ja *ja, uint64_t key, struct cds_ja_node *new_node); +struct cds_ja_node *cds_ja_add_unique(struct cds_ja *ja, uint64_t key, + struct cds_ja_node *new_node); + int cds_ja_del(struct cds_ja *ja, uint64_t key, struct cds_ja_node *node);