Commit | Line | Data |
---|---|---|
9245bd0e | 1 | /* |
ab5be9fa MJ |
2 | * Copyright (C) 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com> |
3 | * Copyright (C) 2014 David Goulet <dgoulet@efficios.com> | |
9245bd0e | 4 | * |
ab5be9fa | 5 | * SPDX-License-Identifier: LGPL-2.1-only |
9245bd0e | 6 | * |
9245bd0e DG |
7 | */ |
8 | ||
9 | #ifndef LTTNG_LOAD_INTERNAL_ABI_H | |
10 | #define LTTNG_LOAD_INTERNAL_ABI_H | |
11 | ||
28f23191 JG |
12 | #include <common/config/session-config.hpp> |
13 | #include <common/macros.hpp> | |
9245bd0e | 14 | |
36d2e35d | 15 | #include <lttng/constant.h> |
28f23191 JG |
16 | |
17 | #include <limits.h> | |
18 | #include <stdint.h> | |
9245bd0e DG |
19 | |
20 | /* | |
21 | * Object used by the load_session API. This is opaque to the public library. | |
22 | */ | |
23 | struct lttng_load_session_attr { | |
24 | /* Name of the session to load, empty string means all. */ | |
36d2e35d | 25 | char session_name[LTTNG_NAME_MAX]; |
9245bd0e DG |
26 | /* URL of the session configuration file to load. */ |
27 | char input_url[PATH_MAX]; | |
28 | /* Overwrite the session if it exists. */ | |
29 | uint32_t overwrite; | |
a2a75fa4 JR |
30 | /* The raw override url for getter */ |
31 | char *raw_override_url; | |
32 | /* The raw override path url for getter */ | |
33 | char *raw_override_path_url; | |
34 | /* The raw override ctrl url for getter */ | |
35 | char *raw_override_ctrl_url; | |
36 | /* The raw override data url for getter */ | |
37 | char *raw_override_data_url; | |
38 | /* Override struct */ | |
1b08cbce | 39 | struct config_load_session_override_attr *override_attr; |
9245bd0e DG |
40 | } LTTNG_PACKED; |
41 | ||
42 | #endif /* LTTNG_LOAD_INTERNAL_ABI_H */ |