diff --git a/include/zenoh_commons.h b/include/zenoh_commons.h index 972bef886..c3988e269 100644 --- a/include/zenoh_commons.h +++ b/include/zenoh_commons.h @@ -724,6 +724,7 @@ typedef struct z_get_options_t { * The timeout for the query in milliseconds. 0 means default query timeout from zenoh configuration. */ uint64_t timeout_ms; + enum zcu_reply_keyexpr_t accept_replies; } z_get_options_t; typedef struct z_moved_hello_t { struct z_owned_hello_t _this; diff --git a/src/get.rs b/src/get.rs index 140301b6c..e9b0bd844 100644 --- a/src/get.rs +++ b/src/get.rs @@ -210,6 +210,7 @@ pub struct z_get_options_t { pub attachment: Option<&'static mut z_moved_bytes_t>, /// The timeout for the query in milliseconds. 0 means default query timeout from zenoh configuration. pub timeout_ms: u64, + pub accept_replies: zcu_reply_keyexpr_t, } /// Constructs default `z_get_options_t`