summaryrefslogtreecommitdiffstats
path: root/src/cmdline.h
blob: 9a647706b0d54c01c6457ac60d8ee53fcf95d1a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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