bin: compile lttng-sessiond as C++
[lttng-tools.git] / include / lttng / location-internal.h
index 33498c90d5c0482b6663fdff5cb6ea68f547aa12..9eafd471a2d5273cb4aa2273cfc304ce8f9f0b02 100644 (file)
 #include <sys/types.h>
 #include <urcu/ref.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * The public API assumes that trace archive locations are always
  * provided as "constant". This means that the user of liblttng-ctl never
@@ -97,4 +101,8 @@ void lttng_trace_archive_location_get(
 void lttng_trace_archive_location_put(
                struct lttng_trace_archive_location *location);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LTTNG_LOCATION_INTERNAL_H */
This page took 0.023149 seconds and 4 git commands to generate.