Fix errors due to lttng.h cleanup
[lttng-tools.git] / lttng / options.h
diff --git a/lttng/options.h b/lttng/options.h
new file mode 100644 (file)
index 0000000..d5c0b53
--- /dev/null
@@ -0,0 +1,50 @@
+/* Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+
+#ifndef _LTTNG_OPTIONS_H
+#define _LTTNG_OPTIONS_H_
+
+/* Function prototypes */
+int parse_args(int argc, const char **argv);
+void clean_exit(int code);
+
+/* Command line options */
+extern int opt_trace_kernel;
+extern int opt_verbose;
+extern int opt_quiet;
+extern char *opt_tracing_group;
+extern char *opt_session_uuid;
+extern char *opt_sessiond_path;
+extern char *opt_session_name;
+extern char *opt_event_list;
+extern char *opt_trace_name;
+extern int opt_destroy_trace;
+extern int opt_enable_event;
+extern int opt_disable_event;
+extern int opt_destroy_session;
+extern int opt_create_session;
+extern int opt_kern_create_channel;
+extern int opt_list_apps;
+extern int opt_no_sessiond;
+extern int opt_list_session;
+extern int opt_list_traces;
+extern int opt_create_trace;
+extern int opt_start_trace;
+extern int opt_stop_trace;
+extern pid_t opt_trace_pid;
+
+#endif /* _LTTNG_OPTIONS_H */
This page took 0.023182 seconds and 4 git commands to generate.