-/*
- * Internal structure to map a socket with the corresponding session.
- * A hashtable indexed on the socket FD is used for the lookups.
- */
-struct relay_command {
- struct lttcomm_sock *sock;
- struct cds_wfq_node node;
- struct lttng_ht_node_ulong sock_n;
- enum connection_type type;
- struct relay_session *session;
-};
+extern int thread_quit_pipe[2];
+
+void lttng_relay_notify_ready(void);
+int lttng_relay_stop_threads(void);