X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.h;h=80bb46a830ab1f9b9649d4d4ecee9cf7a469ddb5;hp=87ba490d7500af8ea078cec6ab652495ab5c91d5;hb=c5b6f4f08fe8d1abff74c7f6ad3630b7dcf0669d;hpb=74251bb8269c4609c776e28fcd137628225e6ca7 diff --git a/src/common/consumer.h b/src/common/consumer.h index 87ba490d7..80bb46a83 100644 --- a/src/common/consumer.h +++ b/src/common/consumer.h @@ -186,6 +186,9 @@ struct consumer_relayd_sock_pair { */ struct lttcomm_sock data_sock; struct lttng_ht_node_ulong node; + + /* Session id on the relayd side for the sockets. */ + uint64_t session_id; }; /* @@ -416,5 +419,6 @@ int consumer_add_relayd_socket(int net_seq_idx, int sock_type, void consumer_flag_relayd_for_destroy( struct consumer_relayd_sock_pair *relayd); int consumer_data_pending(uint64_t id); +int consumer_send_status_msg(int sock, int ret_code); #endif /* LIB_CONSUMER_H */