X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fhealth-relayd.h;h=3384f49aeaab6d517fb106277bc36d49c5aa7fcc;hp=002ce4b4ddc1802c91447eb261af01af4c6c6008;hb=4f173935e4dfec4ca32ab3825871736b7b0f64d8;hpb=eea7556c652e22165c760a37e1db48595216ee7c diff --git a/src/bin/lttng-relayd/health-relayd.h b/src/bin/lttng-relayd/health-relayd.h index 002ce4b4d..3384f49ae 100644 --- a/src/bin/lttng-relayd/health-relayd.h +++ b/src/bin/lttng-relayd/health-relayd.h @@ -2,25 +2,18 @@ #define HEALTH_RELAYD_H /* - * Copyright (C) 2012 - David Goulet - * Copyright (C) 2013 - Mathieu Desnoyers + * Copyright (C) 2012 David Goulet + * Copyright (C) 2013 Mathieu Desnoyers * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License, version 2 only, as - * published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * 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 +27,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 */