X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Flttng-relayd.h;h=0a3ce47404cea9f6c1692209dc8ab4a325d204fc;hb=330a40bb375c4f97ccd4ad556907830f878f22cb;hp=fa9d2ca74ce56957b4d7d1c151f9798edfeb8e75;hpb=58eb9381cd933f0644e6a5b89750dbd6d9b14570;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/lttng-relayd.h b/src/bin/lttng-relayd/lttng-relayd.h index fa9d2ca74..0a3ce4740 100644 --- a/src/bin/lttng-relayd/lttng-relayd.h +++ b/src/bin/lttng-relayd/lttng-relayd.h @@ -19,10 +19,9 @@ #ifndef LTTNG_RELAYD_H #define LTTNG_RELAYD_H -#define _LGPL_SOURCE #include #include -#include +#include #include @@ -30,7 +29,8 @@ * Queue used to enqueue relay requests */ struct relay_conn_queue { - struct cds_wfq_queue queue; + struct cds_wfcq_head head; + struct cds_wfcq_tail tail; int32_t futex; }; @@ -54,6 +54,8 @@ extern const char *tracing_group_name; extern const char * const config_section_name; +extern int thread_quit_pipe[2]; + void lttng_relay_notify_ready(void); #endif /* LTTNG_RELAYD_H */