Move the lttng::free util under the lttng::memory namespace
[lttng-tools.git] / include / lttng / session-internal.hpp
... / ...
CommitLineData
1/*
2 * Copyright (C) 2019 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8#ifndef LTTNG_SESSION_INTERNAL_H
9#define LTTNG_SESSION_INTERNAL_H
10
11#include <common/macros.hpp>
12#include <common/make-unique-wrapper.hpp>
13
14#include <lttng/constant.h>
15
16struct lttng_session;
17
18struct lttng_session_extended {
19 struct {
20 uint64_t value;
21 uint8_t is_set;
22 } LTTNG_PACKED creation_time;
23} LTTNG_PACKED;
24
25using lttng_session_uptr = std::unique_ptr<
26 lttng_session[],
27 lttng::memory::create_deleter_class<lttng_session, lttng::memory::free>::deleter>;
28
29#endif /* LTTNG_SESSION_INTERNAL_H */
This page took 0.023649 seconds and 4 git commands to generate.