Fix: race with the viewer and readiness of streams
[lttng-tools.git] / src / bin / lttng-relayd / health-relayd.h
index 6b55cc3b11dbdc1476b5c550e252f4789018239f..6bfb73b5a8023fd276e87cf3cb7b23e860ed52d6 100644 (file)
 
 #include <lttng/health-internal.h>
 
-enum health_type {
+enum health_type_relayd {
        HEALTH_RELAYD_TYPE_DISPATCHER           = 0,
        HEALTH_RELAYD_TYPE_WORKER               = 1,
        HEALTH_RELAYD_TYPE_LISTENER             = 2,
+       HEALTH_RELAYD_TYPE_LIVE_DISPATCHER      = 3,
+       HEALTH_RELAYD_TYPE_LIVE_WORKER          = 4,
+       HEALTH_RELAYD_TYPE_LIVE_LISTENER        = 5,
 
        NR_HEALTH_RELAYD_TYPES,
 };
 
+extern struct health_app *health_relayd;
+
+extern int health_quit_pipe[2];
+
+void *thread_manage_health(void *data);
+
 #endif /* HEALTH_RELAYD_H */
This page took 0.024084 seconds and 4 git commands to generate.