Fix: missing memset 0 and NULL byte in string
[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
24#include <common/macros.h>
25
26/*
27 * Object used by the save_session API. This is opaque to the public library.
28 */
29struct lttng_save_session_attr {
30 /* Name of the session to save, empty string means all. */
31 char session_name[NAME_MAX];
32 /* Destination of the session configuration. See lttng(1) for URL format. */
33 char configuration_url[PATH_MAX];
34 /* Overwrite the session configuration file if it exists. */
35 uint32_t overwrite;
36} LTTNG_PACKED;
37
38#endif /* LTTNG_SAVE_INTERNAL_ABI_H */
This page took 0.033477 seconds and 5 git commands to generate.