Cleanup: enable_events.c: fix erroneous comment
[lttng-tools.git] / src / bin / lttng / conf.h
CommitLineData
beb8c75a
DG
1/*
2 * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
3 *
d14d33bf
AM
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License, version 2 only,
6 * as published by the Free Software Foundation.
beb8c75a
DG
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
d14d33bf
AM
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
beb8c75a
DG
16 */
17
18#ifndef _LTTNG_CONFIG_H
19#define _LTTNG_CONFIG_H
20
58a97671 21#define CONFIG_FILENAME ".lttngrc"
beb8c75a 22
9b27c721 23void config_destroy(const char *path);
d6a07e7d
FG
24void config_destroy_default(void);
25int config_exists(const char *path);
9b27c721
JG
26int config_init(const char *path);
27int config_add_session_name(const char *path, const char *name);
beb8c75a
DG
28
29/* Must free() the return pointer */
9b27c721
JG
30char *config_read_session_name(const char *path);
31char *config_read_session_name_quiet(const char *path);
32char *config_get_file_path(const char *path);
beb8c75a
DG
33
34#endif /* _LTTNG_CONFIG_H */
This page took 0.048168 seconds and 4 git commands to generate.