Rename C++ header files to .hpp
[lttng-tools.git] / src / lib / lttng-ctl / channel.cpp
index e7b044ac05aafad89f3ff9af02e611619b8b8b3c..080dbb4439659a33c10dc052e81f21b56251b4c9 100644 (file)
@@ -5,20 +5,20 @@
  *
  */
 
-#include <lttng/notification/notification-internal.h>
-#include <lttng/notification/channel-internal.h>
-#include <lttng/condition/condition-internal.h>
+#include <lttng/notification/notification-internal.hpp>
+#include <lttng/notification/channel-internal.hpp>
+#include <lttng/condition/condition-internal.hpp>
 #include <lttng/endpoint.h>
-#include <common/defaults.h>
-#include <common/error.h>
-#include <common/dynamic-buffer.h>
-#include <common/utils.h>
-#include <common/defaults.h>
-#include <common/payload.h>
-#include <common/payload-view.h>
-#include <common/unix.h>
-#include "lttng-ctl-helper.h"
-#include <common/compat/poll.h>
+#include <common/defaults.hpp>
+#include <common/error.hpp>
+#include <common/dynamic-buffer.hpp>
+#include <common/utils.hpp>
+#include <common/defaults.hpp>
+#include <common/payload.hpp>
+#include <common/payload-view.hpp>
+#include <common/unix.hpp>
+#include "lttng-ctl-helper.hpp"
+#include <common/compat/poll.hpp>
 
 static
 int handshake(struct lttng_notification_channel *channel);
@@ -575,6 +575,7 @@ int handshake(struct lttng_notification_channel *channel)
        struct lttng_notification_channel_message msg_header = {
                .type = LTTNG_NOTIFICATION_CHANNEL_MESSAGE_TYPE_HANDSHAKE,
                .size = sizeof(handshake),
+               .fds = 0,
        };
        char send_buffer[sizeof(msg_header) + sizeof(handshake)];
 
@@ -623,6 +624,8 @@ enum lttng_notification_channel_status send_condition_command(
        struct lttng_payload payload;
        struct lttng_notification_channel_message cmd_header = {
                .type = (int8_t) type,
+               .size =0,
+               .fds = 0,
        };
 
        lttng_payload_init(&payload);
This page took 0.025296 seconds and 4 git commands to generate.