diff --git a/docs/api.rst b/docs/api.rst index 5221617e6..b38e81e14 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -459,69 +459,11 @@ Primitives .. autocfunction:: primitives.h::zp_send_keep_alive .. autocfunction:: primitives.h::zp_send_join_options_default .. autocfunction:: primitives.h::zp_send_join -.. autocfunction:: encoding.h::z_encoding_zenoh_bytes -.. autocfunction:: encoding.h::z_encoding_zenoh_int8 -.. autocfunction:: encoding.h::z_encoding_zenoh_int16 -.. autocfunction:: encoding.h::z_encoding_zenoh_int32 -.. autocfunction:: encoding.h::z_encoding_zenoh_int64 -.. autocfunction:: encoding.h::z_encoding_zenoh_int128 -.. autocfunction:: encoding.h::z_encoding_zenoh_uint8 -.. autocfunction:: encoding.h::z_encoding_zenoh_uint16 -.. autocfunction:: encoding.h::z_encoding_zenoh_uint32 -.. autocfunction:: encoding.h::z_encoding_zenoh_uint64 -.. autocfunction:: encoding.h::z_encoding_zenoh_uint128 -.. autocfunction:: encoding.h::z_encoding_zenoh_float32 -.. autocfunction:: encoding.h::z_encoding_zenoh_float64 -.. autocfunction:: encoding.h::z_encoding_zenoh_bool -.. autocfunction:: encoding.h::z_encoding_zenoh_string -.. autocfunction:: encoding.h::z_encoding_zenoh_error -.. autocfunction:: encoding.h::z_encoding_application_octet_stream -.. autocfunction:: encoding.h::z_encoding_text_plain -.. autocfunction:: encoding.h::z_encoding_application_json -.. autocfunction:: encoding.h::z_encoding_text_json -.. autocfunction:: encoding.h::z_encoding_application_cdr -.. autocfunction:: encoding.h::z_encoding_application_cbor -.. autocfunction:: encoding.h::z_encoding_application_yaml -.. autocfunction:: encoding.h::z_encoding_text_yaml -.. autocfunction:: encoding.h::z_encoding_text_json5 -.. autocfunction:: encoding.h::z_encoding_application_python_serialized_object -.. autocfunction:: encoding.h::z_encoding_application_protobuf -.. autocfunction:: encoding.h::z_encoding_application_java_serialized_object -.. autocfunction:: encoding.h::z_encoding_application_openmetrics_text -.. autocfunction:: encoding.h::z_encoding_image_png -.. autocfunction:: encoding.h::z_encoding_image_jpeg -.. autocfunction:: encoding.h::z_encoding_image_gif -.. autocfunction:: encoding.h::z_encoding_image_bmp -.. autocfunction:: encoding.h::z_encoding_image_webp -.. autocfunction:: encoding.h::z_encoding_application_xml -.. autocfunction:: encoding.h::z_encoding_application_x_www_form_urlencoded -.. autocfunction:: encoding.h::z_encoding_text_html -.. autocfunction:: encoding.h::z_encoding_text_xml -.. autocfunction:: encoding.h::z_encoding_text_css -.. autocfunction:: encoding.h::z_encoding_text_javascript -.. autocfunction:: encoding.h::z_encoding_text_markdown -.. autocfunction:: encoding.h::z_encoding_text_csv -.. autocfunction:: encoding.h::z_encoding_application_sql -.. autocfunction:: encoding.h::z_encoding_application_coap_payload -.. autocfunction:: encoding.h::z_encoding_application_json_patch_json -.. autocfunction:: encoding.h::z_encoding_application_json_seq -.. autocfunction:: encoding.h::z_encoding_application_jsonpath -.. autocfunction:: encoding.h::z_encoding_application_jwt -.. autocfunction:: encoding.h::z_encoding_application_mp4 -.. autocfunction:: encoding.h::z_encoding_application_soap_xml -.. autocfunction:: encoding.h::z_encoding_application_yang -.. autocfunction:: encoding.h::z_encoding_audio_aac -.. autocfunction:: encoding.h::z_encoding_audio_flac -.. autocfunction:: encoding.h::z_encoding_audio_mp4 -.. autocfunction:: encoding.h::z_encoding_audio_ogg -.. autocfunction:: encoding.h::z_encoding_audio_vorbis -.. autocfunction:: encoding.h::z_encoding_video_h261 -.. autocfunction:: encoding.h::z_encoding_video_h263 -.. autocfunction:: encoding.h::z_encoding_video_h264 -.. autocfunction:: encoding.h::z_encoding_video_h265 -.. autocfunction:: encoding.h::z_encoding_video_h266 -.. autocfunction:: encoding.h::z_encoding_video_mp4 -.. autocfunction:: encoding.h::z_encoding_video_ogg -.. autocfunction:: encoding.h::z_encoding_video_raw -.. autocfunction:: encoding.h::z_encoding_video_vp8 -.. autocfunction:: encoding.h::z_encoding_video_vp9 + + Just some bytes. + + Constant alias for string: `"zenoh/bytes"`. + + Usually used for types: `uint8_t[]`. + +.. c:function:: encoding.h::z_encoding_zenoh_bytes diff --git a/include/zenoh-pico/api/encoding.h b/include/zenoh-pico/api/encoding.h index 0e46f4f46..06d13dd18 100644 --- a/include/zenoh-pico/api/encoding.h +++ b/include/zenoh-pico/api/encoding.h @@ -50,6 +50,7 @@ extern "C" { * Usually used for types: `uint8_t[]`. */ const z_loaned_encoding_t *z_encoding_zenoh_bytes(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_BYTES; /** @@ -59,6 +60,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_BYTES; * Usually used for types: `int8_t`. */ const z_loaned_encoding_t *z_encoding_zenoh_int8(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_INT8; /** @@ -68,6 +70,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_INT8; * Usually used for types: `int16_t`. */ const z_loaned_encoding_t *z_encoding_zenoh_int16(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_INT16; /** @@ -77,6 +80,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_INT16; * Usually used for types: `int32_t`. */ const z_loaned_encoding_t *z_encoding_zenoh_int32(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_INT32; /** @@ -86,6 +90,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_INT32; * Usually used for types: `int64_t`. */ const z_loaned_encoding_t *z_encoding_zenoh_int64(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_INT64; /** @@ -93,6 +98,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_INT64; * Constant alias for string: `"zenoh/int128"`. */ const z_loaned_encoding_t *z_encoding_zenoh_int128(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_INT128; /** @@ -102,6 +108,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_INT128; * Usually used for types: `uint8_t`. */ const z_loaned_encoding_t *z_encoding_zenoh_uint8(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_UINT8; /** @@ -111,6 +118,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_UINT8; * Usually used for types: `uint16_t`. */ const z_loaned_encoding_t *z_encoding_zenoh_uint16(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_UINT16; /** @@ -120,6 +128,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_UINT16; * Usually used for types: `uint32_t`. */ const z_loaned_encoding_t *z_encoding_zenoh_uint32(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_UINT32; /** @@ -129,6 +138,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_UINT32; * Usually used for types: `uint64_t`. */ const z_loaned_encoding_t *z_encoding_zenoh_uint64(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_UINT64; /** @@ -136,6 +146,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_UINT64; * Constant alias for string: `"zenoh/uint128"`. */ const z_loaned_encoding_t *z_encoding_zenoh_uint128(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_UINT128; /** @@ -145,6 +156,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_UINT128; * Usually used for types: `float`. */ const z_loaned_encoding_t *z_encoding_zenoh_float32(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_FLOAT32; /** @@ -154,6 +166,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_FLOAT32; * Usually used for types: `double`. */ const z_loaned_encoding_t *z_encoding_zenoh_float64(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_FLOAT64; /** @@ -163,6 +176,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_FLOAT64; * Usually used for types: `bool`. */ const z_loaned_encoding_t *z_encoding_zenoh_bool(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_BOOL; /** @@ -172,6 +186,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_BOOL; * Usually used for types: `char[]`. */ const z_loaned_encoding_t *z_encoding_zenoh_string(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_STRING; /** @@ -181,6 +196,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_STRING; * Usually used for types: `z_reply_err_t`. */ const z_loaned_encoding_t *z_encoding_zenoh_error(void); + extern const z_owned_encoding_t ZP_ENCODING_ZENOH_ERROR; /** @@ -188,6 +204,7 @@ extern const z_owned_encoding_t ZP_ENCODING_ZENOH_ERROR; * Constant alias for string: `"application/octet-stream"`. */ const z_loaned_encoding_t *z_encoding_application_octet_stream(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_OCTET_STREAM; /** @@ -195,6 +212,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_OCTET_STREAM; * Constant alias for string: `"text/plain"`. */ const z_loaned_encoding_t *z_encoding_text_plain(void); + extern const z_owned_encoding_t ENCODING_TEXT_PLAIN; /** @@ -202,6 +220,7 @@ extern const z_owned_encoding_t ENCODING_TEXT_PLAIN; * Constant alias for string: `"application/json"`. */ const z_loaned_encoding_t *z_encoding_application_json(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_JSON; /** @@ -209,6 +228,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_JSON; * Constant alias for string: `"text/json"`. */ const z_loaned_encoding_t *z_encoding_text_json(void); + extern const z_owned_encoding_t ENCODING_TEXT_JSON; /** @@ -216,6 +236,7 @@ extern const z_owned_encoding_t ENCODING_TEXT_JSON; * Constant alias for string: `"application/cdr"`. */ const z_loaned_encoding_t *z_encoding_application_cdr(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_CDR; /** @@ -223,6 +244,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_CDR; * Constant alias for string: `"application/cbor"`. */ const z_loaned_encoding_t *z_encoding_application_cbor(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_CBOR; /** @@ -230,6 +252,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_CBOR; * Constant alias for string: `"application/yaml"`. */ const z_loaned_encoding_t *z_encoding_application_yaml(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_YAML; /** @@ -237,6 +260,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_YAML; * Constant alias for string: `"text/yaml"`. */ const z_loaned_encoding_t *z_encoding_text_yaml(void); + extern const z_owned_encoding_t ENCODING_TEXT_YAML; /** @@ -244,6 +268,7 @@ extern const z_owned_encoding_t ENCODING_TEXT_YAML; * Constant alias for string: `"text/json5"`. */ const z_loaned_encoding_t *z_encoding_text_json5(void); + extern const z_owned_encoding_t ENCODING_TEXT_JSON5; /** @@ -251,6 +276,7 @@ extern const z_owned_encoding_t ENCODING_TEXT_JSON5; * Constant alias for string: `"application/python-serialized-object"`. */ const z_loaned_encoding_t *z_encoding_application_python_serialized_object(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_PYTHON_SERIALIZED_OBJECT; /** @@ -258,6 +284,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_PYTHON_SERIALIZED_OBJECT; * Constant alias for string: `"application/protobuf"`. */ const z_loaned_encoding_t *z_encoding_application_protobuf(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_PROTOBUF; /** @@ -265,6 +292,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_PROTOBUF; * Constant alias for string: `"application/java-serialized-object"`. */ const z_loaned_encoding_t *z_encoding_application_java_serialized_object(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_JAVA_SERIALIZED_OBJECT; /** @@ -273,6 +301,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_JAVA_SERIALIZED_OBJECT; * Constant alias for string: `"application/openmetrics-text"`. */ const z_loaned_encoding_t *z_encoding_application_openmetrics_text(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_OPENMETRICS_TEXT; /** @@ -280,6 +309,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_OPENMETRICS_TEXT; * Constant alias for string: `"image/png"`. */ const z_loaned_encoding_t *z_encoding_image_png(void); + extern const z_owned_encoding_t ENCODING_IMAGE_PNG; /** @@ -287,6 +317,7 @@ extern const z_owned_encoding_t ENCODING_IMAGE_PNG; * Constant alias for string: `"image/jpeg"`. */ const z_loaned_encoding_t *z_encoding_image_jpeg(void); + extern const z_owned_encoding_t ENCODING_IMAGE_JPEG; /** @@ -294,6 +325,7 @@ extern const z_owned_encoding_t ENCODING_IMAGE_JPEG; * Constant alias for string: `"image/gif"`. */ const z_loaned_encoding_t *z_encoding_image_gif(void); + extern const z_owned_encoding_t ENCODING_IMAGE_GIF; /** @@ -301,6 +333,7 @@ extern const z_owned_encoding_t ENCODING_IMAGE_GIF; * Constant alias for string: `"image/bmp"`. */ const z_loaned_encoding_t *z_encoding_image_bmp(void); + extern const z_owned_encoding_t ENCODING_IMAGE_BMP; /** @@ -308,6 +341,7 @@ extern const z_owned_encoding_t ENCODING_IMAGE_BMP; * Constant alias for string: `"image/webp"`. */ const z_loaned_encoding_t *z_encoding_image_webp(void); + extern const z_owned_encoding_t ENCODING_IMAGE_WEBP; /** @@ -315,6 +349,7 @@ extern const z_owned_encoding_t ENCODING_IMAGE_WEBP; * Constant alias for string: `"application/xml"`. */ const z_loaned_encoding_t *z_encoding_application_xml(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_XML; /** @@ -322,6 +357,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_XML; * Constant alias for string: `"application/x-www-form-urlencoded"`. */ const z_loaned_encoding_t *z_encoding_application_x_www_form_urlencoded(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_X_WWW_FORM_URLENCODED; /** @@ -329,6 +365,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_X_WWW_FORM_URLENCODED; * Constant alias for string: `"text/html"`. */ const z_loaned_encoding_t *z_encoding_text_html(void); + extern const z_owned_encoding_t ENCODING_TEXT_HTML; /** @@ -336,6 +373,7 @@ extern const z_owned_encoding_t ENCODING_TEXT_HTML; * Constant alias for string: `"text/xml"`. */ const z_loaned_encoding_t *z_encoding_text_xml(void); + extern const z_owned_encoding_t ENCODING_TEXT_XML; /** @@ -343,6 +381,7 @@ extern const z_owned_encoding_t ENCODING_TEXT_XML; * Constant alias for string: `"text/css"`. */ const z_loaned_encoding_t *z_encoding_text_css(void); + extern const z_owned_encoding_t ENCODING_TEXT_CSS; /** @@ -350,6 +389,7 @@ extern const z_owned_encoding_t ENCODING_TEXT_CSS; * Constant alias for string: `"text/javascript"`. */ const z_loaned_encoding_t *z_encoding_text_javascript(void); + extern const z_owned_encoding_t ENCODING_TEXT_JAVASCRIPT; /** @@ -357,6 +397,7 @@ extern const z_owned_encoding_t ENCODING_TEXT_JAVASCRIPT; * Constant alias for string: `"text/markdown"`. */ const z_loaned_encoding_t *z_encoding_text_markdown(void); + extern const z_owned_encoding_t ENCODING_TEXT_MARKDOWN; /** @@ -364,6 +405,7 @@ extern const z_owned_encoding_t ENCODING_TEXT_MARKDOWN; * Constant alias for string: `"text/csv"`. */ const z_loaned_encoding_t *z_encoding_text_csv(void); + extern const z_owned_encoding_t ENCODING_TEXT_CSV; /** @@ -371,6 +413,7 @@ extern const z_owned_encoding_t ENCODING_TEXT_CSV; * Constant alias for string: `"application/sql"`. */ const z_loaned_encoding_t *z_encoding_application_sql(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_SQL; /** @@ -378,6 +421,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_SQL; * Constant alias for string: `"application/coap-payload"`. */ const z_loaned_encoding_t *z_encoding_application_coap_payload(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_COAP_PAYLOAD; /** @@ -385,6 +429,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_COAP_PAYLOAD; * Constant alias for string: `"application/json-patch+json"`. */ const z_loaned_encoding_t *z_encoding_application_json_patch_json(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_JSON_PATCH_JSON; /** @@ -392,6 +437,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_JSON_PATCH_JSON; * Constant alias for string: `"application/json-seq"`. */ const z_loaned_encoding_t *z_encoding_application_json_seq(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_JSON_SEQ; /** @@ -399,6 +445,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_JSON_SEQ; * Constant alias for string: `"application/jsonpath"`. */ const z_loaned_encoding_t *z_encoding_application_jsonpath(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_JSONPATH; /** @@ -406,6 +453,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_JSONPATH; * Constant alias for string: `"application/jwt"`. */ const z_loaned_encoding_t *z_encoding_application_jwt(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_JWT; /** @@ -413,6 +461,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_JWT; * Constant alias for string: `"application/mp4"`. */ const z_loaned_encoding_t *z_encoding_application_mp4(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_MP4; /** @@ -420,6 +469,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_MP4; * Constant alias for string: `"application/soap+xml"`. */ const z_loaned_encoding_t *z_encoding_application_soap_xml(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_SOAP_XML; /** @@ -427,6 +477,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_SOAP_XML; * Constant alias for string: `"application/yang"`. */ const z_loaned_encoding_t *z_encoding_application_yang(void); + extern const z_owned_encoding_t ENCODING_APPLICATION_YANG; /** @@ -434,6 +485,7 @@ extern const z_owned_encoding_t ENCODING_APPLICATION_YANG; * Constant alias for string: `"audio/aac"`. */ const z_loaned_encoding_t *z_encoding_audio_aac(void); + extern const z_owned_encoding_t ENCODING_AUDIO_AAC; /** @@ -441,6 +493,7 @@ extern const z_owned_encoding_t ENCODING_AUDIO_AAC; * Constant alias for string: `"audio/flac"`. */ const z_loaned_encoding_t *z_encoding_audio_flac(void); + extern const z_owned_encoding_t ENCODING_AUDIO_FLAC; /** @@ -448,6 +501,7 @@ extern const z_owned_encoding_t ENCODING_AUDIO_FLAC; * Constant alias for string: `"audio/mp4"`. */ const z_loaned_encoding_t *z_encoding_audio_mp4(void); + extern const z_owned_encoding_t ENCODING_AUDIO_MP4; /** @@ -455,6 +509,7 @@ extern const z_owned_encoding_t ENCODING_AUDIO_MP4; * Constant alias for string: `"audio/ogg"`. */ const z_loaned_encoding_t *z_encoding_audio_ogg(void); + extern const z_owned_encoding_t ENCODING_AUDIO_OGG; /** @@ -462,6 +517,7 @@ extern const z_owned_encoding_t ENCODING_AUDIO_OGG; * Constant alias for string: `"audio/vorbis"`. */ const z_loaned_encoding_t *z_encoding_audio_vorbis(void); + extern const z_owned_encoding_t ENCODING_AUDIO_VORBIS; /** @@ -469,6 +525,7 @@ extern const z_owned_encoding_t ENCODING_AUDIO_VORBIS; * Constant alias for string: `"video/h261"`. */ const z_loaned_encoding_t *z_encoding_video_h261(void); + extern const z_owned_encoding_t ENCODING_VIDEO_H261; /** @@ -476,6 +533,7 @@ extern const z_owned_encoding_t ENCODING_VIDEO_H261; * Constant alias for string: `"video/h263"`. */ const z_loaned_encoding_t *z_encoding_video_h263(void); + extern const z_owned_encoding_t ENCODING_VIDEO_H263; /** @@ -483,6 +541,7 @@ extern const z_owned_encoding_t ENCODING_VIDEO_H263; * Constant alias for string: `"video/h264"`. */ const z_loaned_encoding_t *z_encoding_video_h264(void); + extern const z_owned_encoding_t ENCODING_VIDEO_H264; /** @@ -490,6 +549,7 @@ extern const z_owned_encoding_t ENCODING_VIDEO_H264; * Constant alias for string: `"video/h265"`. */ const z_loaned_encoding_t *z_encoding_video_h265(void); + extern const z_owned_encoding_t ENCODING_VIDEO_H265; /** @@ -497,6 +557,7 @@ extern const z_owned_encoding_t ENCODING_VIDEO_H265; * Constant alias for string: `"video/h266"`. */ const z_loaned_encoding_t *z_encoding_video_h266(void); + extern const z_owned_encoding_t ENCODING_VIDEO_H266; /** @@ -504,6 +565,7 @@ extern const z_owned_encoding_t ENCODING_VIDEO_H266; * Constant alias for string: `"video/mp4"`. */ const z_loaned_encoding_t *z_encoding_video_mp4(void); + extern const z_owned_encoding_t ENCODING_VIDEO_MP4; /** @@ -511,6 +573,7 @@ extern const z_owned_encoding_t ENCODING_VIDEO_MP4; * Constant alias for string: `"video/ogg"`. */ const z_loaned_encoding_t *z_encoding_video_ogg(void); + extern const z_owned_encoding_t ENCODING_VIDEO_OGG; /** @@ -518,6 +581,7 @@ extern const z_owned_encoding_t ENCODING_VIDEO_OGG; * Constant alias for string: `"video/raw"`. */ const z_loaned_encoding_t *z_encoding_video_raw(void); + extern const z_owned_encoding_t ENCODING_VIDEO_RAW; /** @@ -525,6 +589,7 @@ extern const z_owned_encoding_t ENCODING_VIDEO_RAW; * Constant alias for string: `"video/vp8"`. */ const z_loaned_encoding_t *z_encoding_video_vp8(void); + extern const z_owned_encoding_t ENCODING_VIDEO_VP8; /** @@ -532,6 +597,7 @@ extern const z_owned_encoding_t ENCODING_VIDEO_VP8; * Constant alias for string: `"video/vp9"`. */ const z_loaned_encoding_t *z_encoding_video_vp9(void); + extern const z_owned_encoding_t ENCODING_VIDEO_VP9; #endif