#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,
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 */