X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbin%2Flttng-sessiond%2Fconsumer.h;h=1018d7aa4f28ba83f612e54b63dd5024fa94d36f;hb=40bbd087934edf0be7c21165786aad3fabb7e7b5;hp=d875f2c6dda7aaa228235f5756cc061766a9c81e;hpb=d88744a44aa5f2ca90ab87946692b9eed3120641;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/consumer.h b/src/bin/lttng-sessiond/consumer.h index d875f2c6d..1018d7aa4 100644 --- a/src/bin/lttng-sessiond/consumer.h +++ b/src/bin/lttng-sessiond/consumer.h @@ -222,12 +222,13 @@ void consumer_output_get(struct consumer_output *obj); void consumer_output_put(struct consumer_output *obj); int consumer_set_network_uri(struct consumer_output *obj, struct lttng_uri *uri); -int consumer_send_fds(struct consumer_socket *sock, int *fds, size_t nb_fd); +int consumer_send_fds(struct consumer_socket *sock, const int *fds, + size_t nb_fd); int consumer_send_msg(struct consumer_socket *sock, struct lttcomm_consumer_msg *msg); int consumer_send_stream(struct consumer_socket *sock, struct consumer_output *dst, struct lttcomm_consumer_msg *msg, - int *fds, size_t nb_fd); + const int *fds, size_t nb_fd); int consumer_send_channel(struct consumer_socket *sock, struct lttcomm_consumer_msg *msg); int consumer_send_relayd_socket(struct consumer_socket *consumer_sock, @@ -284,8 +285,7 @@ void consumer_init_stream_comm_msg(struct lttcomm_consumer_msg *msg, void consumer_init_streams_sent_comm_msg(struct lttcomm_consumer_msg *msg, enum lttng_consumer_command cmd, uint64_t channel_key, uint64_t net_seq_idx); -void consumer_init_channel_comm_msg(struct lttcomm_consumer_msg *msg, - enum lttng_consumer_command cmd, +void consumer_init_add_channel_comm_msg(struct lttcomm_consumer_msg *msg, uint64_t channel_key, uint64_t session_id, const char *pathname,