actions: introduce function typedef for creating actions from buffer
[lttng-tools.git] / include / lttng / save-internal.h
1 /*
2 * Copyright (C) 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8 #ifndef LTTNG_SAVE_INTERNAL_ABI_H
9 #define LTTNG_SAVE_INTERNAL_ABI_H
10
11 #include <limits.h>
12 #include <stdint.h>
13
14 #include <lttng/constant.h>
15 #include <common/macros.h>
16
17 /*
18 * Object used by the save_session API. This is opaque to the public library.
19 */
20 struct lttng_save_session_attr {
21 /* Name of the session to save, empty string means all. */
22 char session_name[LTTNG_NAME_MAX];
23 /* Destination of the session configuration. See lttng(1) for URL format. */
24 char configuration_url[PATH_MAX];
25 /* Overwrite the session configuration file if it exists. */
26 uint8_t overwrite;
27 /* Omit the sessions' name(s). */
28 uint8_t omit_name;
29 /* Omit the sessions' output(s). */
30 uint8_t omit_output;
31 } LTTNG_PACKED;
32
33 #endif /* LTTNG_SAVE_INTERNAL_ABI_H */
This page took 0.033562 seconds and 4 git commands to generate.