add preliminary command line parsing

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@64 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-07-12 21:28:11 +00:00
parent d4e0d51c15
commit b69178b067
4 changed files with 138 additions and 1 deletions

19
src/cmdline.h Normal file
View file

@ -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