Commit | Line | Data |
---|---|---|
f3ed775e 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. | |
f3ed775e 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. | |
f3ed775e DG |
16 | */ |
17 | ||
18 | #ifndef _LTTNG_UTILS_H | |
19 | #define _LTTNG_UTILS_H | |
20 | ||
679b4943 SM |
21 | #include <popt.h> |
22 | ||
3badf2bf | 23 | char *expand_full_path(const char *path); |
f3ed775e DG |
24 | char *get_config_file_path(void); |
25 | char *get_session_name(void); | |
5440dc42 | 26 | int set_session_name(char *name); |
679b4943 | 27 | void list_cmd_options(FILE *ofp, struct poptOption *options); |
f3ed775e DG |
28 | |
29 | #endif /* _LTTNG_UTILS_H */ |