bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / compat / directory-handle.h
index 50185a526ac5468a9aca446694c3bdf209479684..9a107201987f129ee4bd7dbdd12a359893fffebd 100644 (file)
 #include <sys/stat.h>
 #include <urcu/ref.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 enum lttng_directory_handle_rmdir_recursive_flags {
        LTTNG_DIRECTORY_HANDLE_FAIL_NON_EMPTY_FLAG = (1U << 0),
        LTTNG_DIRECTORY_HANDLE_SKIP_NON_EMPTY_FLAG = (1U << 1),
@@ -259,4 +263,9 @@ bool lttng_directory_handle_uses_fd(
 bool lttng_directory_handle_equals(const struct lttng_directory_handle *lhs,
                const struct lttng_directory_handle *rhs);
 
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _COMPAT_PATH_HANDLE_H */
This page took 0.023238 seconds and 4 git commands to generate.