Rename C++ header files to .hpp
[lttng-tools.git] / src / lib / lttng-ctl / destruction-handle.cpp
index 35a1c358225376de7c7a3fa5de1614a93e8c9312..d937b2c73c3693a26dadb38962363b34323625d0 100644 (file)
@@ -8,16 +8,16 @@
 #include <lttng/destruction-handle.h>
 #include <lttng/rotation.h>
 
-#include <common/optional.h>
-#include <common/compat/poll.h>
-#include <common/compat/time.h>
-#include <common/macros.h>
-#include <common/compat/poll.h>
-#include <common/dynamic-buffer.h>
-#include <common/buffer-view.h>
-#include <common/sessiond-comm/sessiond-comm.h>
-#include <lttng/location-internal.h>
-#include "lttng-ctl-helper.h"
+#include <common/optional.hpp>
+#include <common/compat/poll.hpp>
+#include <common/compat/time.hpp>
+#include <common/macros.hpp>
+#include <common/compat/poll.hpp>
+#include <common/dynamic-buffer.hpp>
+#include <common/buffer-view.hpp>
+#include <common/sessiond-comm/sessiond-comm.hpp>
+#include <lttng/location-internal.hpp>
+#include "lttng-ctl-helper.hpp"
 
 #include <algorithm>
 #include <stdbool.h>
@@ -391,6 +391,10 @@ enum lttng_error_code lttng_destroy_session_ext(const char *session_name,
        enum lttng_error_code ret_code = LTTNG_OK;
        struct lttcomm_session_msg lsm = {
                .cmd_type = LTTNG_DESTROY_SESSION,
+               .session = {},
+               .domain = {},
+               .u = {},
+               .fd_count = 0,
        };
        int sessiond_socket = -1;
        struct lttng_destruction_handle *handle = NULL;
This page took 0.023557 seconds and 4 git commands to generate.