summaryrefslogtreecommitdiffstats
path: root/src/cmdline.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdline.h')
-rw-r--r--src/cmdline.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/cmdline.h b/src/cmdline.h
new file mode 100644
index 00000000..9a647706
--- /dev/null
+++ b/src/cmdline.h
@@ -0,0 +1,19 @@
+#ifndef foocmdlinehfoo
+#define foocmdlinehfoo
+
+struct pa_cmdline_module {
+ char *name, *arguments;
+ struct pa_cmdline_module *next;
+};
+
+struct pa_cmdline {
+ int daemonize, help;
+ struct pa_cmdline_module *first_module, *last_module;
+};
+
+struct pa_cmdline* pa_cmdline_parse(int argc, char * const argv []);
+void pa_cmdline_free(struct pa_cmdline *cmd);
+
+void pa_cmdline_help(const char *argv0);
+
+#endif