2 * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
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.
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.
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.
18 #ifndef _LTTNG_CONFIG_H
19 #define _LTTNG_CONFIG_H
21 #define CONFIG_FILENAME ".lttngrc"
23 void config_destroy(char *path
);
24 void config_destroy_default(void);
25 int config_exists(const char *path
);
26 int config_init(char *path
);
27 int config_add_session_name(char *path
, char *name
);
29 /* Must free() the return pointer */
30 char *config_read_session_name(char *path
);
31 char *config_read_session_name_quiet(char *path
);
32 char *config_get_file_path(char *path
);
34 #endif /* _LTTNG_CONFIG_H */
This page took 0.030386 seconds and 4 git commands to generate.