2 * Copyright (C) 2020 Simon Marchi <simon.marchi@efficios.com>
4 * SPDX-License-Identifier: GPL-2.0-only
8 #ifndef COMMON_SNAPSHOT_H
9 #define COMMON_SNAPSHOT_H
11 #include <common/macros.h>
15 struct lttng_payload_view
;
17 struct lttng_snapshot_output
;
20 bool lttng_snapshot_output_validate(const struct lttng_snapshot_output
*output
);
23 bool lttng_snapshot_output_is_equal(
24 const struct lttng_snapshot_output
*a
,
25 const struct lttng_snapshot_output
*b
);
28 int lttng_snapshot_output_serialize(
29 const struct lttng_snapshot_output
*output
,
30 struct lttng_payload
*payload
);
33 ssize_t
lttng_snapshot_output_create_from_payload(
34 struct lttng_payload_view
*view
,
35 struct lttng_snapshot_output
**output_p
);
37 #endif /* COMMON_SNAPSHOT_H */
This page took 0.029657 seconds and 4 git commands to generate.