5 * Copyright (C) 2012 - Julien Desfossez <jdesfossez@efficios.com>
6 * David Goulet <dgoulet@efficios.com>
7 * 2015 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License, version 2 only,
11 * as published by the Free Software Foundation.
13 * This program is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 #include <urcu/wfcqueue.h>
27 #include <common/hashtable/hashtable.h>
30 * Queue used to enqueue relay requests
32 struct relay_conn_queue
{
33 struct cds_wfcq_head head
;
34 struct cds_wfcq_tail tail
;
39 * Contains stream indexed by ID. This is important since many commands lookup
40 * streams only by ID thus also keeping them in this hash table makes the
43 extern struct lttng_ht
*sessions_ht
;
44 extern struct lttng_ht
*relay_streams_ht
;
45 extern struct lttng_ht
*viewer_streams_ht
;
47 extern char *opt_output_path
;
48 extern const char *tracing_group_name
;
49 extern const char * const config_section_name
;
51 extern int thread_quit_pipe
[2];
53 void lttng_relay_notify_ready(void);
54 int lttng_relay_stop_threads(void);
56 #endif /* LTTNG_RELAYD_H */
This page took 0.029673 seconds and 4 git commands to generate.