Skip to content

Commit

Permalink
move reliability enum under unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Sep 10, 2024
1 parent 896ae4b commit 8d1b35c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/zenoh/api/enums.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ typedef ::z_sample_kind_t SampleKind;
/// It optimizes bandwidth.
typedef ::z_consolidation_mode_t ConsolidationMode;

/// Publisher reliability values.
#if defined(UNSTABLE)
/// @warning This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
/// @brief Publisher reliability values.
///
/// Values:
/// - **Z_RELIABILITY_BEST_EFFORT**: Defines reliability as "best effort"
Expand All @@ -51,6 +53,7 @@ typedef ::z_consolidation_mode_t ConsolidationMode;
/// It is rather used as a marker on the wire and it may be used to select the best link available (e.g. TCP for
/// reliable data and UDP for best effort data).
typedef ::z_reliability_t Reliability;
#endif

/// Congestion control values.
///
Expand Down

0 comments on commit 8d1b35c

Please sign in to comment.