X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fnotification%2Fchannel-internal.h;h=befdca083fc5386dcd39eb88c70fb39e02b41134;hp=f7df8e5206999154a8afb3ebf480523a4a75497d;hb=882093eef6fdd658833928a62be5d42fc0cdcb00;hpb=6c24d3fd5ade8231445e720c174afe3da4210179 diff --git a/include/lttng/notification/channel-internal.h b/include/lttng/notification/channel-internal.h index f7df8e520..befdca083 100644 --- a/include/lttng/notification/channel-internal.h +++ b/include/lttng/notification/channel-internal.h @@ -10,7 +10,7 @@ #include #include -#include +#include #include #include #include @@ -44,6 +44,8 @@ struct lttng_notification_channel_message { int8_t type; /* Size of the payload following this field. */ uint32_t size; + /* Number of FDs sent. */ + uint32_t fds; char payload[]; } LTTNG_PACKED; @@ -88,7 +90,7 @@ struct lttng_notification_channel { /* List of struct pending_notification. */ struct cds_list_head list; } pending_notifications; - struct lttng_dynamic_buffer reception_buffer; + struct lttng_payload reception_payload; /* Sessiond notification protocol version. */ struct { bool set;