lttng: Add list-triggers command
[lttng-tools.git] / src / bin / lttng / conf.h
... / ...
CommitLineData
1/*
2 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8#ifndef _LTTNG_CONFIG_H
9#define _LTTNG_CONFIG_H
10
11#define CONFIG_FILENAME ".lttngrc"
12
13void config_destroy(const char *path);
14void config_destroy_default(void);
15int config_exists(const char *path);
16int config_init(const char *path);
17int config_add_session_name(const char *path, const char *name);
18
19/* Must free() the return pointer */
20char *config_read_session_name(const char *path);
21char *config_read_session_name_quiet(const char *path);
22char *config_get_file_path(const char *path);
23
24#endif /* _LTTNG_CONFIG_H */
This page took 0.022043 seconds and 4 git commands to generate.