1 #ifndef COMMON_SNAPSHOT_H
2 #define COMMON_SNAPSHOT_H
5 * Copyright (C) 2020 - EfficiOS, Inc.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License, version 2 only,
9 * as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #include "common/macros.h"
25 struct lttng_buffer_view
;
26 struct lttng_dynamic_buffer
;
27 struct lttng_snapshot_output
;
30 bool lttng_snapshot_output_validate(const struct lttng_snapshot_output
*output
);
33 bool lttng_snapshot_output_is_equal(
34 const struct lttng_snapshot_output
*a
,
35 const struct lttng_snapshot_output
*b
);
38 int lttng_snapshot_output_serialize(
39 const struct lttng_snapshot_output
*output
,
40 struct lttng_dynamic_buffer
*buf
);
43 ssize_t
lttng_snapshot_output_create_from_buffer(
44 const struct lttng_buffer_view
*view
,
45 struct lttng_snapshot_output
**output_p
);
47 #endif /* COMMON_SNAPSHOT_H */
This page took 0.038444 seconds and 5 git commands to generate.