zenoh-c
The libzenoh-c library provides a C client API for the zenoh protocol.
An introduction to zenoh and its concepts is available on zenoh.io.
- Examples
- API Reference
- Containers
- Slice
- String
- Types
- Functions
z_string_check()z_view_string_check()z_string_null()z_view_string_null()z_string_loan()z_view_string_loan()z_string_drop()z_string_empty()z_view_string_empty()z_string_copy_from_str()z_view_string_from_str()z_string_copy_from_substr()z_string_from_str()z_string_data()z_string_len()z_string_is_empty()
- String Array
- Common
- Serialization / Deserialization
- Types
- Functions
z_bytes_len()z_bytes_serialize_from_slice()z_bytes_from_slice()z_bytes_serialize_from_buf()z_bytes_from_buf()z_bytes_from_static_buf()z_bytes_serialize_from_string()z_bytes_from_string()z_bytes_serialize_from_str()z_bytes_from_str()z_bytes_from_static_str()z_bytes_from_iter()z_bytes_from_pair()z_bytes_serialize_from_uint8()z_bytes_serialize_from_uint16()z_bytes_serialize_from_uint32()z_bytes_serialize_from_uint64()z_bytes_serialize_from_int8()z_bytes_serialize_from_int16()z_bytes_serialize_from_int32()z_bytes_serialize_from_int64()z_bytes_serialize_from_float()z_bytes_serialize_from_double()z_bytes_deserialize_into_slice()z_bytes_deserialize_into_string()z_bytes_deserialize_into_pair()z_bytes_deserialize_into_uint8()z_bytes_deserialize_into_uint16()z_bytes_deserialize_into_uint32()z_bytes_deserialize_into_uint64()z_bytes_deserialize_into_int8()z_bytes_deserialize_into_int16()z_bytes_deserialize_into_int32()z_bytes_deserialize_into_int64()z_bytes_deserialize_into_float()z_bytes_deserialize_into_double()z_bytes_empty()z_bytes_clone()z_bytes_loan()z_bytes_loan_mut()z_bytes_null()z_bytes_check()z_bytes_drop()z_bytes_get_reader()z_bytes_reader_read()z_bytes_reader_seek()z_bytes_reader_tell()z_bytes_get_iterator()z_bytes_iterator_next()z_bytes_get_writer()z_bytes_writer_loan()z_bytes_writer_loan_mut()z_bytes_writer_null()z_bytes_writer_check()z_bytes_writer_drop()z_bytes_writer_write_all()
- Key expression
- Types
- Functions
z_keyexpr_from_str()z_view_keyexpr_from_str()z_keyexpr_from_str_autocanonize()z_view_keyexpr_from_str_autocanonize()z_view_keyexpr_from_str_unchecked()z_keyexpr_from_substr()z_view_keyexpr_from_substr()z_keyexpr_from_substr_autocanonize()z_view_keyexpr_from_substr_autocanonize()z_view_keyexpr_from_substr_unchecked()z_keyexpr_loan()z_view_keyexpr_loan()z_keyexpr_check()z_view_keyexpr_check()z_keyexpr_drop()z_keyexpr_as_view_string()z_keyexpr_canonize()z_keyexpr_canonize_null_terminated()z_keyexpr_is_canon()z_keyexpr_concat()z_keyexpr_join()z_keyexpr_equals()z_keyexpr_includes()z_keyexpr_intersects()z_declare_keyexpr()z_undeclare_keyexpr()
- Encoding
- Types
- Functions
- Predefined Encodings
z_encoding_zenoh_bytes()z_encoding_zenoh_int8()z_encoding_zenoh_int16()z_encoding_zenoh_int32()z_encoding_zenoh_int64()z_encoding_zenoh_int128()z_encoding_zenoh_uint8()z_encoding_zenoh_uint16()z_encoding_zenoh_uint32()z_encoding_zenoh_uint64()z_encoding_zenoh_uint128()z_encoding_zenoh_float32()z_encoding_zenoh_float64()z_encoding_zenoh_bool()z_encoding_zenoh_string()z_encoding_zenoh_error()z_encoding_application_octet_stream()z_encoding_text_plain()z_encoding_application_json()z_encoding_text_json()z_encoding_application_cdr()z_encoding_application_cbor()z_encoding_application_yaml()z_encoding_text_yaml()z_encoding_text_json5()z_encoding_application_python_serialized_objects()z_encoding_application_protobuf()z_encoding_application_java_serialized_object()z_encoding_application_openmetrics_text()z_encoding_image_png()z_encoding_image_jpeg()z_encoding_image_gif()z_encoding_image_bmp()z_encoding_image_webp()z_encoding_application_xml()z_encoding_application_x_www_form_urlencoded()z_encoding_text_html()z_encoding_text_xml()z_encoding_text_css()z_encoding_text_javascript()z_encoding_text_markdown()z_encoding_text_csv()z_encoding_application_sql()z_encoding_application_coap_payload()z_encoding_application_json_patch_json()z_encoding_application_json_seq()z_encoding_application_jsonpath()z_encoding_application_jwt()z_encoding_application_mp4()z_encoding_application_soap_xml()z_encoding_application_yang()z_encoding_audio_aac()z_encoding_audio_flac()z_encoding_audio_mp4()z_encoding_audio_ogg()z_encoding_audio_vorbis()z_encoding_video_h261()z_encoding_video_h263()z_encoding_video_h264()z_encoding_video_h265()z_encoding_video_h266()z_encoding_video_mp4()z_encoding_video_ogg()z_encoding_video_raw()z_encoding_video_vp8()z_encoding_video_vp9()
- Reply Error
- Sample
- Timestamp
- Serialization / Deserialization
- System
- Session
- Publication
- Types
- Functions
z_put()z_delete()z_declare_publisher()z_publisher_put()z_publisher_delete()z_undeclare_publisher()z_publisher_keyexpr()z_publisher_id()z_publisher_null()z_publisher_loan()z_publisher_check()z_publisher_drop()z_put_options_default()z_delete_options_default()z_publisher_options_default()z_publisher_put_options_default()z_publisher_delete_options_default()zc_closure_matching_status_check()zc_closure_matching_status_null()zc_closure_matching_status_drop()zc_closure_matching_status_call()
- Subscription
- Types
- Functions
z_declare_subscriber()z_undeclare_subscriber()z_subscriber_check()z_subscriber_null()z_subscriber_drop()z_closure_sample_call()z_closure_sample_drop()z_closure_sample_null()z_closure_sample_check()z_subscriber_options_default()z_fifo_channel_sample_new()z_ring_channel_sample_new()z_fifo_handler_sample_check()z_fifo_handler_sample_null()z_fifo_handler_sample_drop()z_fifo_handler_sample_loan()z_fifo_handler_sample_recv()z_fifo_handler_sample_try_recv()z_ring_handler_sample_check()z_ring_handler_sample_null()z_ring_handler_sample_drop()z_ring_handler_sample_loan()z_ring_handler_sample_recv()z_ring_handler_sample_try_recv()
- Queryable
- Types
- Functions
z_declare_queryable()z_undeclare_queryable()z_queryable_options_default()z_query_reply_options_default()z_query_reply_err_options_default()z_queryable_null()z_queryable_check()z_queryable_loan()z_queryable_drop()z_query_null()z_query_check()z_query_loan()z_query_drop()z_query_clone()z_query_keyexpr()z_query_parameters()z_query_payload()z_query_encoding()z_query_attachment()z_query_reply()z_query_reply_err()z_closure_query_null()z_closure_query_check()z_closure_query_call()z_closure_query_drop()z_fifo_channel_query_new()z_ring_channel_query_new()z_fifo_handler_query_check()z_fifo_handler_query_null()z_fifo_handler_query_drop()z_fifo_handler_query_loan()z_fifo_handler_query_recv()z_fifo_handler_query_try_recv()z_ring_handler_query_check()z_ring_handler_query_null()z_ring_handler_query_drop()z_ring_handler_query_loan()z_ring_handler_query_recv()z_ring_handler_query_try_recv()
- Query
- Types
z_owned_reply_tz_loaned_reply_tz_owned_closure_reply_tz_get_options_tz_get_options_t::targetz_get_options_t::consolidationz_get_options_t::payloadz_get_options_t::encodingz_get_options_t::congestion_controlz_get_options_t::is_expressz_get_options_t::allowed_destinationz_get_options_t::accept_repliesz_get_options_t::priorityz_get_options_t::source_infoz_get_options_t::attachmentz_get_options_t::timeout_ms
z_query_target_tz_consolidation_mode_tz_query_consolidation_tz_owned_fifo_handler_reply_tz_loaned_fifo_handler_reply_tz_owned_ring_handler_reply_tz_loaned_ring_handler_reply_t
- Functions
z_get()z_get_options_default()z_query_consolidation_default()z_query_consolidation_auto()z_query_consolidation_none()z_query_consolidation_monotonic()z_query_consolidation_latest()z_query_target_default()z_reply_check()z_reply_drop()z_reply_clone()z_reply_is_ok()z_reply_ok()z_reply_err()z_reply_null()z_closure_reply_null()z_closure_reply_check()z_closure_reply_call()z_closure_reply_drop()z_fifo_channel_reply_new()z_ring_channel_reply_new()z_fifo_handler_reply_check()z_fifo_handler_reply_null()z_fifo_handler_reply_drop()z_fifo_handler_reply_loan()z_fifo_handler_reply_recv()z_fifo_handler_reply_try_recv()z_ring_handler_reply_check()z_ring_handler_reply_null()z_ring_handler_reply_drop()z_ring_handler_reply_loan()z_ring_handler_reply_recv()z_ring_handler_reply_try_recv()
- Types
- Scouting
- Liveliness
- Types
- Functions
zc_liveliness_declare_subscriber()zc_liveliness_get()zc_liveliness_declare_token()zc_liveliness_undeclare_token()zc_liveliness_token_loan()zc_liveliness_token_null()zc_liveliness_token_check()zc_liveliness_token_drop()zc_liveliness_subscriber_options_default()zc_liveliness_declaration_options_default()zc_liveliness_get_options_default()
- Publication Cache
- Querying Subscriber
- Types
ze_owned_querying_subscriber_tze_loaned_querying_subscriber_tze_querying_subscriber_options_tze_querying_subscriber_options_t::reliabilityze_querying_subscriber_options_t::allowed_originze_querying_subscriber_options_t::query_selectorze_querying_subscriber_options_t::query_targetze_querying_subscriber_options_t::query_consolidationze_querying_subscriber_options_t::query_accept_repliesze_querying_subscriber_options_t::query_timeout_ms
zc_reply_keyexpr_t
- Functions
- Types
- Containers