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 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License, version 2 only, as
10 * published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17 * You should have received a copy of the GNU General Public License along with
18 * this program; if not, write to the Free Software Foundation, Inc., 51
19 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #include <lttng/health-internal.h>
24 enum health_type_relayd
{
25 HEALTH_RELAYD_TYPE_DISPATCHER
= 0,
26 HEALTH_RELAYD_TYPE_WORKER
= 1,
27 HEALTH_RELAYD_TYPE_LISTENER
= 2,
28 HEALTH_RELAYD_TYPE_LIVE_DISPATCHER
= 3,
29 HEALTH_RELAYD_TYPE_LIVE_WORKER
= 4,
30 HEALTH_RELAYD_TYPE_LIVE_LISTENER
= 5,
32 NR_HEALTH_RELAYD_TYPES
,
35 extern struct health_app
*health_relayd
;
37 extern int health_quit_pipe
[2];
39 void *thread_manage_health(void *data
);
41 #endif /* HEALTH_RELAYD_H */