summaryrefslogtreecommitdiffstats
path: root/polyp/cmdline.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/cmdline.h')
-rw-r--r--polyp/cmdline.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/polyp/cmdline.h b/polyp/cmdline.h
index 28e7bdbc..ca100d1d 100644
--- a/polyp/cmdline.h
+++ b/polyp/cmdline.h
@@ -24,8 +24,12 @@
#include "daemon-conf.h"
+/* Parese the command line and store its data in *c. Return the index
+ * of the first unparsed argument in *d. */
int pa_cmdline_parse(struct pa_daemon_conf*c, int argc, char *const argv [], int *d);
+/* Show the command line help. The command name is extracted from
+ * argv[0] which should be passed in argv0. */
void pa_cmdline_help(const char *argv0);
#endif