projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: compile libhashtable as C++
[lttng-tools.git]
/
src
/
common
/
uri.h
diff --git
a/src/common/uri.h
b/src/common/uri.h
index ac1de9e0cbc2450f2592f54c46beb499321734c3..a270db9d927c021a84b59723afc8920b2948c536 100644
(file)
--- a/
src/common/uri.h
+++ b/
src/common/uri.h
@@
-12,6
+12,10
@@
#include <lttng/lttng.h>
#include <common/macros.h>
#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,
/* Destination type of lttng URI */
enum lttng_dst_type {
LTTNG_DST_IPV4 = 1,
@@
-72,4
+76,8
@@
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);
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 */
#endif /* _LTT_URI_H */
This page took
0.025275 seconds
and
4
git commands to generate.