diff --git a/include/zenoh/api/ext/session_ext.hxx b/include/zenoh/api/ext/session_ext.hxx index 4e60511..fffd14b 100644 --- a/include/zenoh/api/ext/session_ext.hxx +++ b/include/zenoh/api/ext/session_ext.hxx @@ -50,8 +50,8 @@ class SessionExt { /// @warning This API is deprecated. Please use zenoh::ext::AdvancedPublisher. /// @brief Options passed to the ``SessionExt::declare_publication_cache``. struct PublicationCacheOptions { - /// The prefix used for queryable. - std::optional queryable_prefix = {}; + /// The suffix used for queryable. + std::optional queryable_suffix = {}; #if defined(Z_FEATURE_UNSTABLE_API) /// The restriction for the matching queries that will be receive by this publication cache. Locality queryable_origin = ::zc_locality_default(); @@ -73,7 +73,7 @@ class SessionExt { ::ze_publication_cache_options_t to_c_opts() { ::ze_publication_cache_options_t opts; ze_publication_cache_options_default(&opts); - opts.queryable_prefix = zenoh::interop::as_loaned_c_ptr(this->queryable_prefix); + opts.queryable_suffix = zenoh::interop::as_loaned_c_ptr(this->queryable_suffix); #if defined(Z_FEATURE_UNSTABLE_API) opts.queryable_origin = this->queryable_origin; #endif diff --git a/zenoh-c b/zenoh-c index 2614936..f46bbcf 160000 --- a/zenoh-c +++ b/zenoh-c @@ -1 +1 @@ -Subproject commit 261493682c7dc54db3a07079315e009a2e7c1573 +Subproject commit f46bbcf6dc9b64e70e877e48d848eeab01d652c0