2 * Copyright (C) 2014 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 * David Goulet <dgoulet@efficios.com>
5 * This library is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU Lesser General Public License, version 2.1 only,
7 * as published by the Free Software Foundation.
9 * This library is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this library; if not, write to the Free Software Foundation,
16 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 #ifndef LTTNG_LOAD_INTERNAL_ABI_H
20 #define LTTNG_LOAD_INTERNAL_ABI_H
25 #include <lttng/constant.h>
26 #include <common/macros.h>
27 #include <common/config/session-config.h>
30 * Object used by the load_session API. This is opaque to the public library.
32 struct lttng_load_session_attr
{
33 /* Name of the session to load, empty string means all. */
34 char session_name
[LTTNG_NAME_MAX
];
35 /* URL of the session configuration file to load. */
36 char input_url
[PATH_MAX
];
37 /* Overwrite the session if it exists. */
39 /* The raw override url for getter */
40 char *raw_override_url
;
41 /* The raw override path url for getter */
42 char *raw_override_path_url
;
43 /* The raw override ctrl url for getter */
44 char *raw_override_ctrl_url
;
45 /* The raw override data url for getter */
46 char *raw_override_data_url
;
48 struct config_load_session_override_attr
*override_attr
;
51 #endif /* LTTNG_LOAD_INTERNAL_ABI_H */