diff options
Diffstat (limited to 'src/args.h')
| -rw-r--r-- | src/args.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/args.h b/src/args.h new file mode 100644 index 0000000..79ea308 --- /dev/null +++ b/src/args.h @@ -0,0 +1,14 @@ +#include "stddef.h" + +#define DEFAULT_CONFIG_PATH "/etc/pow/opts.lua" + +#define POW_FLAG_HELP 1 + +typedef struct { + int flags; + + char *cfg_path; +} pow_args; + +int pow_args_parse(int argc, char *argv[], pow_args *args); +void pow_args_print_help(); |
