1 #ifndef HEALTH_RELAYD_H
2 #define HEALTH_RELAYD_H
5 * Copyright (C) 2012 David Goulet <dgoulet@efficios.com>
6 * Copyright (C) 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * SPDX-License-Identifier: GPL-2.0-only
13 #include <lttng/health-internal.h>
15 #define LTTNG_RELAYD_HEALTH_ENV "LTTNG_RELAYD_HEALTH"
17 enum health_type_relayd
{
18 HEALTH_RELAYD_TYPE_DISPATCHER
= 0,
19 HEALTH_RELAYD_TYPE_WORKER
= 1,
20 HEALTH_RELAYD_TYPE_LISTENER
= 2,
21 HEALTH_RELAYD_TYPE_LIVE_DISPATCHER
= 3,
22 HEALTH_RELAYD_TYPE_LIVE_WORKER
= 4,
23 HEALTH_RELAYD_TYPE_LIVE_LISTENER
= 5,
25 NR_HEALTH_RELAYD_TYPES
,
28 extern struct health_app
*health_relayd
;
30 extern int health_quit_pipe
[2];
32 void *thread_manage_health(void *data
);
34 #endif /* HEALTH_RELAYD_H */