#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>
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;