Skip to content

Commit

Permalink
docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Nov 29, 2024
1 parent 46c9426 commit 2754b8a
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 25 deletions.
61 changes: 50 additions & 11 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,25 @@ Functions
.. doxygenfunction:: z_closure_zid_call
.. doxygenfunction:: z_closure_zid

Matching
========

Types
-----
.. doxygenstruct:: zc_owned_matching_listener_t
.. doxygenstruct:: zc_owned_closure_matching_status_t
.. doxygenstruct:: zc_matching_status_t

Functions
---------

.. doxygenfunction:: zc_matching_listener_drop
.. doxygenfunction:: zc_closure_matching_status_drop
.. doxygenfunction:: zc_closure_matching_status_loan
.. doxygenfunction:: zc_closure_matching_status_call
.. doxygenfunction:: zc_closure_matching_status


Publication
===========

Expand All @@ -556,9 +575,6 @@ Types
.. doxygenstruct:: z_publisher_delete_options_t
:members:

.. doxygenstruct:: zc_owned_matching_listener_t
.. doxygenstruct:: zc_owned_closure_matching_status_t

Functions
---------
.. doxygenfunction:: z_put
Expand All @@ -582,17 +598,10 @@ Functions

.. doxygenfunction:: z_reliability_default

.. doxygenfunction:: zc_closure_matching_status_drop
.. doxygenfunction:: zc_closure_matching_status_loan
.. doxygenfunction:: zc_closure_matching_status_call
.. doxygenfunction:: zc_closure_matching_status

.. doxygenfunction:: zc_publisher_get_matching_status
.. doxygenfunction:: zc_publisher_declare_matching_listener
.. doxygenfunction:: zc_publisher_declare_background_matching_listener

.. doxygenfunction:: zc_publisher_matching_listener_drop

Subscription
============

Expand Down Expand Up @@ -719,8 +728,12 @@ Functions

Query
=====

Types
-----
.. doxygenstruct:: z_owned_querier_t
.. doxygenstruct:: z_loaned_querier_t

.. doxygenstruct:: z_owned_reply_t
.. doxygenstruct:: z_loaned_reply_t

Expand All @@ -731,12 +744,19 @@ Types
:members:
.. doxygenenum:: z_query_target_t
.. doxygenenum:: z_consolidation_mode_t
.. doxygenenum:: zc_reply_keyexpr_t
.. doxygenstruct:: z_query_consolidation_t

.. doxygenstruct:: z_querier_options_t
:members:
.. doxygenstruct:: z_querier_get_options_t
:members:

.. doxygenstruct:: z_owned_fifo_handler_reply_t
.. doxygenstruct:: z_loaned_fifo_handler_reply_t
.. doxygenstruct:: z_owned_ring_handler_reply_t
.. doxygenstruct:: z_loaned_ring_handler_reply_t



Functions
Expand All @@ -752,6 +772,26 @@ Functions
.. doxygenfunction:: z_query_consolidation_latest
.. doxygenfunction:: z_query_target_default

.. doxygenfunction:: z_declare_querier
.. doxygenfunction:: z_undeclare_querier
.. doxygenfunction:: z_querier_loan
.. doxygenfunction:: z_querier_drop
.. doxygenfunction:: z_declare_background_querier
.. doxygenfunction:: z_querier_id
.. doxygenfunction:: z_querier_keyexpr
.. doxygenfunction:: z_querier_get
.. doxygenfunction:: zc_querier_get_matching_status
.. doxygenfunction:: zc_querier_declare_matching_listener
.. doxygenfunction:: zc_querier_declare_background_matching_listener

.. doxygenfunction:: z_querier_options_default
.. doxygenfunction:: z_querier_get_options_default

.. doxygenfunction:: z_reply_loan
.. doxygenfunction:: z_reply_is_ok
.. doxygenfunction:: z_reply_ok
.. doxygenfunction:: z_reply_err

.. doxygenfunction:: z_reply_drop
.. doxygenfunction:: z_reply_clone
.. doxygenfunction:: z_reply_loan
Expand Down Expand Up @@ -870,7 +910,6 @@ Types
.. doxygenstruct:: ze_loaned_querying_subscriber_t
.. doxygenstruct:: ze_querying_subscriber_options_t
:members:
.. doxygenenum:: zc_reply_keyexpr_t

Functions
---------
Expand Down
14 changes: 0 additions & 14 deletions include/zenoh_commons.h
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,6 @@ typedef struct z_publisher_options_t {
enum zc_locality_t allowed_destination;
#endif
} z_publisher_options_t;
/**
* An owned Zenoh querier.
*
* Sends queries to matching queryables.
*/
typedef struct ALIGN(8) z_owned_querier_t {
uint8_t _0[72];
} z_owned_querier_t;
/**
* The replies consolidation strategy to apply on replies to a `z_get()`.
*/
Expand Down Expand Up @@ -892,12 +884,6 @@ typedef struct z_put_options_t {
typedef struct z_moved_querier_t {
struct z_owned_querier_t _this;
} z_moved_querier_t;
/**
* A loaned Zenoh queryable.
*/
typedef struct ALIGN(8) z_loaned_querier_t {
uint8_t _0[72];
} z_loaned_querier_t;
/**
* Options passed to the `z_querier_get()` function.
*/
Expand Down
2 changes: 2 additions & 0 deletions splitguide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ zenoh_opaque.h:
- z_loaned_query_t!
- z_owned_queryable_t!
- z_loaned_queryable_t!
- z_owned_querier_t!
- z_loaned_querier_t!
- ze_owned_querying_subscriber_t!#unstable
- ze_loaned_querying_subscriber_t!#unstable
- z_owned_keyexpr_t!
Expand Down

0 comments on commit 2754b8a

Please sign in to comment.