@@ -108,10 +108,10 @@ _z_keyexpr_t _z_update_keyexpr_to_declared(_z_session_t *zs, _z_keyexpr_t keyexp
108108 * Returns:
109109 * 0 in case of success, negative error code otherwise.
110110 */
111- z_result_t _z_declare_publisher (_z_publisher_t * publisher , const _z_session_rc_t * zn , const _z_keyexpr_t * keyexpr ,
112- _z_encoding_t * encoding , z_congestion_control_t congestion_control ,
113- z_priority_t priority , bool is_express , z_reliability_t reliability ,
114- z_locality_t allowed_destination );
111+ z_result_t _z_declare_publisher (_z_publisher_t * publisher , const _z_session_rc_t * zn ,
112+ const _z_declared_keyexpr_t * keyexpr , _z_encoding_t * encoding ,
113+ z_congestion_control_t congestion_control , z_priority_t priority , bool is_express ,
114+ z_reliability_t reliability , z_locality_t allowed_destination );
115115
116116/**
117117 * Undeclare a :c:type:`_z_publisher_t`.
@@ -146,9 +146,9 @@ z_result_t _z_undeclare_publisher(_z_publisher_t *pub);
146146 * Returns:
147147 * ``0`` in case of success, ``-1`` in case of failure.
148148 */
149- z_result_t _z_write (_z_session_t * zn , const _z_keyexpr_t * keyexpr , _z_bytes_t * payload , _z_encoding_t * encoding ,
150- const z_sample_kind_t kind , const z_congestion_control_t cong_ctrl , z_priority_t priority ,
151- bool is_express , const _z_timestamp_t * timestamp , _z_bytes_t * attachment ,
149+ z_result_t _z_write (_z_session_t * zn , const _z_declared_keyexpr_t * keyexpr , _z_bytes_t * payload ,
150+ _z_encoding_t * encoding , const z_sample_kind_t kind , const z_congestion_control_t cong_ctrl ,
151+ z_priority_t priority , bool is_express , const _z_timestamp_t * timestamp , _z_bytes_t * attachment ,
152152 z_reliability_t reliability , const _z_source_info_t * source_info , z_locality_t allowed_destination );
153153#endif
154154
@@ -166,9 +166,9 @@ z_result_t _z_write(_z_session_t *zn, const _z_keyexpr_t *keyexpr, _z_bytes_t *p
166166 * Returns:
167167 * 0 in case of success, negative error code otherwise.
168168 */
169- z_result_t _z_declare_subscriber (_z_subscriber_t * subscriber , const _z_session_rc_t * zn , const _z_keyexpr_t * keyexpr ,
170- _z_closure_sample_callback_t callback , _z_drop_handler_t dropper , void * arg ,
171- z_locality_t allowed_origin );
169+ z_result_t _z_declare_subscriber (_z_subscriber_t * subscriber , const _z_session_rc_t * zn ,
170+ const _z_declared_keyexpr_t * keyexpr , _z_closure_sample_callback_t callback ,
171+ _z_drop_handler_t dropper , void * arg , z_locality_t allowed_origin );
172172
173173/**
174174 * Undeclare a :c:type:`_z_subscriber_t`.
@@ -197,9 +197,10 @@ z_result_t _z_undeclare_subscriber(_z_subscriber_t *sub);
197197 * Returns:
198198 * 0 in case of success, negative error code otherwise.
199199 */
200- z_result_t _z_declare_queryable (_z_queryable_t * queryable , const _z_session_rc_t * zn , const _z_keyexpr_t * keyexpr ,
201- bool complete , _z_closure_query_callback_t callback , _z_drop_handler_t dropper ,
202- void * arg , z_locality_t allowed_origin );
200+ z_result_t _z_declare_queryable (_z_queryable_t * queryable , const _z_session_rc_t * zn ,
201+ const _z_declared_keyexpr_t * keyexpr , bool complete ,
202+ _z_closure_query_callback_t callback , _z_drop_handler_t dropper , void * arg ,
203+ z_locality_t allowed_origin );
203204
204205/**
205206 * Undeclare a :c:type:`_z_queryable_t`.
@@ -232,7 +233,7 @@ z_result_t _z_undeclare_queryable(_z_queryable_t *qle);
232233 * timestamp: The timestamp of this reply. The API level timestamp (e.g. of the data when it was created).
233234 * source_info: The message source info.
234235 */
235- z_result_t _z_send_reply (const _z_query_t * query , const _z_session_rc_t * zsrc , const _z_keyexpr_t * keyexpr ,
236+ z_result_t _z_send_reply (const _z_query_t * query , const _z_session_rc_t * zsrc , const _z_declared_keyexpr_t * keyexpr ,
236237 _z_bytes_t * payload , _z_encoding_t * encoding , const z_sample_kind_t kind ,
237238 const z_congestion_control_t cong_ctrl , z_priority_t priority , bool is_express ,
238239 const _z_timestamp_t * timestamp , _z_bytes_t * attachment , _z_source_info_t * source_info );
@@ -270,7 +271,7 @@ z_result_t _z_send_reply_err(const _z_query_t *query, const _z_session_rc_t *zsr
270271 * Returns:
271272 * 0 in case of success, negative error code otherwise.
272273 */
273- z_result_t _z_declare_querier (_z_querier_t * querier , const _z_session_rc_t * zn , const _z_keyexpr_t * keyexpr ,
274+ z_result_t _z_declare_querier (_z_querier_t * querier , const _z_session_rc_t * zn , const _z_declared_keyexpr_t * keyexpr ,
274275 z_consolidation_mode_t consolidation_mode , z_congestion_control_t congestion_control ,
275276 z_query_target_t target , z_priority_t priority , bool is_express , uint64_t timeout_ms ,
276277 _z_encoding_t * encoding , z_reliability_t reliability , z_locality_t allowed_destination );
@@ -308,7 +309,7 @@ z_result_t _z_undeclare_querier(_z_querier_t *querier);
308309 * opt_cancellation_token: Optional cancellation token to cancel the query, can be null.
309310 *
310311 */
311- z_result_t _z_query (const _z_session_rc_t * session , const _z_keyexpr_t * keyexpr , const char * parameters ,
312+ z_result_t _z_query (const _z_session_rc_t * session , const _z_declared_keyexpr_t * keyexpr , const char * parameters ,
312313 size_t parameters_len , z_query_target_t target , z_consolidation_mode_t consolidation ,
313314 _z_bytes_t * payload , _z_encoding_t * encoding , _z_closure_reply_callback_t callback ,
314315 _z_drop_handler_t dropper , void * arg , uint64_t timeout_ms , _z_bytes_t * attachment , _z_n_qos_t qos ,
@@ -317,8 +318,8 @@ z_result_t _z_query(const _z_session_rc_t *session, const _z_keyexpr_t *keyexpr,
317318#endif
318319
319320#if Z_FEATURE_INTEREST == 1
320- uint32_t _z_add_interest (_z_session_t * zn , const _z_keyexpr_t * keyexpr , _z_interest_handler_t callback , uint8_t flags ,
321- _z_void_rc_t * arg );
321+ uint32_t _z_add_interest (_z_session_t * zn , const _z_declared_keyexpr_t * keyexpr , _z_interest_handler_t callback ,
322+ uint8_t flags , _z_void_rc_t * arg );
322323z_result_t _z_remove_interest (_z_session_t * zn , uint32_t interest_id );
323324#endif
324325
0 commit comments