Add a '--list-options' option to each command.
[lttng-tools.git] / src / bin / lttng / utils.h
CommitLineData
f3ed775e
DG
1/*
2 * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
82a3637f
DG
6 * as published by the Free Software Foundation; only version 2
7 * of the License.
f3ed775e
DG
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 */
18
19#ifndef _LTTNG_UTILS_H
20#define _LTTNG_UTILS_H
21
679b4943
SM
22#include <popt.h>
23
f3ed775e
DG
24char *get_config_file_path(void);
25char *get_session_name(void);
5440dc42 26int set_session_name(char *name);
679b4943 27void list_cmd_options(FILE *ofp, struct poptOption *options);
f3ed775e
DG
28
29#endif /* _LTTNG_UTILS_H */
This page took 0.028459 seconds and 5 git commands to generate.