From e8661ab877a6d54072623a2528e29d085ab92cdc Mon Sep 17 00:00:00 2001 From: Michael Ilyin Date: Mon, 4 Mar 2024 13:36:13 +0100 Subject: [PATCH] tags --- docs/api_missing_tags.txt | 2 ++ include/zenoh_commons.h | 2 ++ src/closures/query_channel.rs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/docs/api_missing_tags.txt b/docs/api_missing_tags.txt index 0e78b66e8..38c8de55d 100644 --- a/docs/api_missing_tags.txt +++ b/docs/api_missing_tags.txt @@ -11,3 +11,5 @@ Purposedly not added: in Rust they exinsts only because DeelteBuilder is an alia tags{api.downsampling_item_conf(TODO)} tags{api.downsampling_rule_conf(TODO)} +tags{api.get.access_replies.set(TODO)} +tags{api.get.allowed_destination.set(TODO)} \ No newline at end of file diff --git a/include/zenoh_commons.h b/include/zenoh_commons.h index 7f5fc5af6..95d971840 100644 --- a/include/zenoh_commons.h +++ b/include/zenoh_commons.h @@ -2716,6 +2716,7 @@ int8_t zc_put_owned(struct z_session_t session, * The `recv` end is a synchronous closure that will block until either a `z_owned_query_t` is available, * which it will then return; or until the `send` closure is dropped and all queries have been consumed, * at which point it will return an invalidated `z_owned_query_t`, and so will further calls. + * tags{c.zc_query_fifo_new, api.get.channel} */ ZENOHC_API struct z_owned_query_channel_t zc_query_fifo_new(size_t bound); @@ -2729,6 +2730,7 @@ struct z_owned_query_channel_t zc_query_fifo_new(size_t bound); * The `recv` end is a synchronous closure that will block until either a `z_owned_query_t` is available, * which it will then return; or until the `send` closure is dropped and all queries have been consumed, * at which point it will return an invalidated `z_owned_query_t`, and so will further calls. + * tags{c.zc_query_non_blocking_fifo_new , api.get.channel} */ ZENOHC_API struct z_owned_query_channel_t zc_query_non_blocking_fifo_new(size_t bound); diff --git a/src/closures/query_channel.rs b/src/closures/query_channel.rs index b7a51c9c0..50bef53bb 100644 --- a/src/closures/query_channel.rs +++ b/src/closures/query_channel.rs @@ -50,6 +50,7 @@ pub extern "C" fn z_query_channel_null() -> z_owned_query_channel_t { /// which it will then return; or until the `send` closure is dropped and all queries have been consumed, /// at which point it will return an invalidated `z_owned_query_t`, and so will further calls. #[no_mangle] +/// tags{c.zc_query_fifo_new, api.get.channel} pub extern "C" fn zc_query_fifo_new(bound: usize) -> z_owned_query_channel_t { let (send, rx) = if bound == 0 { let (tx, rx) = std::sync::mpsc::channel(); @@ -98,6 +99,7 @@ pub extern "C" fn zc_query_fifo_new(bound: usize) -> z_owned_query_channel_t { /// which it will then return; or until the `send` closure is dropped and all queries have been consumed, /// at which point it will return an invalidated `z_owned_query_t`, and so will further calls. #[no_mangle] +/// tags{c.zc_query_non_blocking_fifo_new , api.get.channel} pub extern "C" fn zc_query_non_blocking_fifo_new(bound: usize) -> z_owned_query_channel_t { let (send, rx) = if bound == 0 { let (tx, rx) = std::sync::mpsc::channel();