X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Furi.h;h=b0af0326810e851556ab84f7cad6bb84295dbc68;hb=8250d5979abfc05004139b2328a36712224a797c;hp=a270db9d927c021a84b59723afc8920b2948c536;hpb=48a4000561343808724f7cb5fa8c131877489ccd;p=lttng-tools.git diff --git a/src/common/uri.h b/src/common/uri.h index a270db9d9..b0af03268 100644 --- a/src/common/uri.h +++ b/src/common/uri.h @@ -12,10 +12,6 @@ #include #include -#if defined(__cplusplus) -extern "C" { -#endif - /* Destination type of lttng URI */ enum lttng_dst_type { LTTNG_DST_IPV4 = 1, @@ -44,6 +40,7 @@ enum lttng_stream_type { * should be ignored. */ enum lttng_proto_type { + LTTNG_PROTO_TYPE_NONE = 0, LTTNG_TCP = 1, /* * UDP protocol is not supported for now. @@ -76,8 +73,4 @@ ssize_t uri_parse_str_urls(const char *ctrl_url, const char *data_url, struct lttng_uri **uris); int uri_to_str_url(struct lttng_uri *uri, char *dst, size_t size); -#if defined(__cplusplus) -} -#endif - #endif /* _LTT_URI_H */