X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fhealth-relayd.h;h=7c7b6e7497cdf4aeffbc35fb9b262a4768261ec4;hp=002ce4b4ddc1802c91447eb261af01af4c6c6008;hb=aa91fbc56d63f8d75661a68b68f4052d3c0dba45;hpb=eea7556c652e22165c760a37e1db48595216ee7c diff --git a/src/bin/lttng-relayd/health-relayd.h b/src/bin/lttng-relayd/health-relayd.h index 002ce4b4d..7c7b6e749 100644 --- a/src/bin/lttng-relayd/health-relayd.h +++ b/src/bin/lttng-relayd/health-relayd.h @@ -19,8 +19,11 @@ * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include #include +#define LTTNG_RELAYD_HEALTH_ENV "LTTNG_RELAYD_HEALTH" + enum health_type_relayd { HEALTH_RELAYD_TYPE_DISPATCHER = 0, HEALTH_RELAYD_TYPE_WORKER = 1, @@ -34,4 +37,8 @@ enum health_type_relayd { extern struct health_app *health_relayd; +extern int health_quit_pipe[2]; + +void *thread_manage_health(void *data); + #endif /* HEALTH_RELAYD_H */