X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotification-thread-internal.h;h=eb23d1f78fa2df8d106cdb9fe4caddf1177bb90d;hp=e36180fb6af634ef4e23c6f1ad7aba45bb3017d1;hb=882093eef6fdd658833928a62be5d42fc0cdcb00;hpb=6c24d3fd5ade8231445e720c174afe3da4210179 diff --git a/src/bin/lttng-sessiond/notification-thread-internal.h b/src/bin/lttng-sessiond/notification-thread-internal.h index e36180fb6..eb23d1f78 100644 --- a/src/bin/lttng-sessiond/notification-thread-internal.h +++ b/src/bin/lttng-sessiond/notification-thread-internal.h @@ -10,6 +10,7 @@ #include #include +#include #include #include #include @@ -156,9 +157,11 @@ struct notification_client { * buffers' "size" is set to contain the current * message's complete payload. */ - struct lttng_dynamic_buffer buffer; + struct lttng_payload payload; /* Bytes left to receive for the current message. */ size_t bytes_to_receive; + /* FDs left to receive for the current message. */ + int fds_to_receive; /* Type of the message being received. */ enum lttng_notification_channel_message_type msg_type; /* @@ -192,7 +195,7 @@ struct notification_client { * misbehaving/malicious client. */ bool queued_command_reply; - struct lttng_dynamic_buffer buffer; + struct lttng_payload payload; } outbound; } communication; /* call_rcu delayed reclaim. */