Rename C++ header files to .hpp
[lttng-tools.git] / src / bin / lttng-sessiond / notify-apps.hpp
diff --git a/src/bin/lttng-sessiond/notify-apps.hpp b/src/bin/lttng-sessiond/notify-apps.hpp
new file mode 100644 (file)
index 0000000..152a52a
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2013 David Goulet <dgoulet@efficios.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ */
+
+#ifndef UST_THREAD_H
+#define UST_THREAD_H
+
+#ifdef HAVE_LIBLTTNG_UST_CTL
+
+bool launch_application_notification_thread(int apps_cmd_notify_pipe_read_fd);
+
+#else /* HAVE_LIBLTTNG_UST_CTL */
+
+static
+bool launch_application_notification_thread(
+               int apps_cmd_notify_pipe_read_fd __attribute__((unused)))
+{
+       return true;
+}
+
+#endif /* HAVE_LIBLTTNG_UST_CTL */
+
+#endif /* UST_THREAD_H */
This page took 0.022801 seconds and 4 git commands to generate.