#include <lttng/lttng.h>
#include <common/macros.h>
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* Destination type of lttng URI */
enum lttng_dst_type {
LTTNG_DST_IPV4 = 1,
* should be ignored.
*/
enum lttng_proto_type {
+ LTTNG_PROTO_TYPE_NONE = 0,
LTTNG_TCP = 1,
/*
* UDP protocol is not supported for now.
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 */