Refactoring: introduce lttng_tracker_ids data structure
[lttng-tools.git] / include / lttng / load-internal.h
CommitLineData
9245bd0e
DG
1/*
2 * Copyright (C) 2014 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 * David Goulet <dgoulet@efficios.com>
4 *
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.
8 *
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
12 * for more details.
13 *
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
17 */
18
19#ifndef LTTNG_LOAD_INTERNAL_ABI_H
20#define LTTNG_LOAD_INTERNAL_ABI_H
21
22#include <limits.h>
23#include <stdint.h>
24
36d2e35d 25#include <lttng/constant.h>
9245bd0e 26#include <common/macros.h>
a2a75fa4 27#include <common/config/session-config.h>
9245bd0e
DG
28
29/*
30 * Object used by the load_session API. This is opaque to the public library.
31 */
32struct lttng_load_session_attr {
33 /* Name of the session to load, empty string means all. */
36d2e35d 34 char session_name[LTTNG_NAME_MAX];
9245bd0e
DG
35 /* URL of the session configuration file to load. */
36 char input_url[PATH_MAX];
37 /* Overwrite the session if it exists. */
38 uint32_t overwrite;
a2a75fa4
JR
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;
47 /* Override struct */
1b08cbce 48 struct config_load_session_override_attr *override_attr;
9245bd0e
DG
49} LTTNG_PACKED;
50
51#endif /* LTTNG_LOAD_INTERNAL_ABI_H */
This page took 0.031941 seconds and 4 git commands to generate.