Skip to content

Commit

Permalink
made reliability option unstable (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin authored Aug 21, 2024
1 parent 9e30b34 commit bd2e4b7
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 63 deletions.
96 changes: 39 additions & 57 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions include/zenoh_commons.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ typedef enum z_query_target_t {
/**
* The subscription reliability.
*/
#if defined(UNSTABLE)
typedef enum z_reliability_t {
/**
* Defines reliability as ``BEST_EFFORT``
Expand All @@ -175,6 +176,7 @@ typedef enum z_reliability_t {
*/
Z_RELIABILITY_RELIABLE,
} z_reliability_t;
#endif
typedef enum z_sample_kind_t {
/**
* The Sample was issued by a ``put`` operation.
Expand Down Expand Up @@ -561,10 +563,12 @@ typedef struct z_queryable_options_t {
* Options passed to the `z_declare_subscriber()` function.
*/
typedef struct z_subscriber_options_t {
#if defined(UNSTABLE)
/**
* The subscription reliability.
*/
enum z_reliability_t reliability;
#endif
} z_subscriber_options_t;
/**
* Options passed to the `z_delete()` function.
Expand Down
Loading

0 comments on commit bd2e4b7

Please sign in to comment.