Merge duplicate code in consumer for add relayd
[lttng-tools.git] / src / common / consumer.h
index 5cbb47dcfa5945534e48551f2fa9393486ddce2f..da3c4ce5a69b75c8eafc5bb9eeefa4cba2778026 100644 (file)
@@ -381,5 +381,8 @@ extern int lttng_consumer_recv_cmd(struct lttng_consumer_local_data *ctx,
 ssize_t lttng_consumer_read_subbuffer(struct lttng_consumer_stream *stream,
                struct lttng_consumer_local_data *ctx);
 int lttng_consumer_on_recv_stream(struct lttng_consumer_stream *stream);
+int consumer_add_relayd_socket(int net_seq_idx, int sock_type,
+               struct lttng_consumer_local_data *ctx, int sock,
+               struct pollfd *consumer_sockpoll, struct lttcomm_sock *relayd_sock);
 
 #endif /* LIB_CONSUMER_H */
This page took 0.03115 seconds and 4 git commands to generate.