Fix: honor base path for network URIs
[lttng-tools.git] / include / lttng / save-internal.h
CommitLineData
00c76cea
JG
1/*
2 * Copyright (C) 2013 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 *
4 * This library is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License, version 2.1 only,
6 * as published by the Free Software Foundation.
7 *
8 * This library is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
11 * for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this library; if not, write to the Free Software Foundation,
15 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17
18#ifndef LTTNG_SAVE_INTERNAL_ABI_H
19#define LTTNG_SAVE_INTERNAL_ABI_H
20
21#include <limits.h>
22#include <stdint.h>
23
36d2e35d 24#include <lttng/constant.h>
00c76cea
JG
25#include <common/macros.h>
26
27/*
28 * Object used by the save_session API. This is opaque to the public library.
29 */
30struct lttng_save_session_attr {
31 /* Name of the session to save, empty string means all. */
36d2e35d 32 char session_name[LTTNG_NAME_MAX];
00c76cea
JG
33 /* Destination of the session configuration. See lttng(1) for URL format. */
34 char configuration_url[PATH_MAX];
35 /* Overwrite the session configuration file if it exists. */
c7b06618 36 uint8_t overwrite;
30f9c327
JG
37 /* Omit the sessions' name(s). */
38 uint8_t omit_name;
39 /* Omit the sessions' output(s). */
40 uint8_t omit_output;
00c76cea
JG
41} LTTNG_PACKED;
42
43#endif /* LTTNG_SAVE_INTERNAL_ABI_H */
This page took 0.033991 seconds and 4 git commands to generate.