diff options
Diffstat (limited to 'src/til_args.h')
-rw-r--r-- | src/til_args.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/til_args.h b/src/til_args.h new file mode 100644 index 0000000..018ae80 --- /dev/null +++ b/src/til_args.h @@ -0,0 +1,17 @@ +#ifndef _TIL_ARGS_H +#define _TIL_ARGS_H + +#include <stdio.h> + +typedef struct til_args_t { + const char *module; + const char *video; + + unsigned use_defaults:1; + unsigned help:1; +} til_args_t; + +int til_args_parse(int argc, const char *argv[], til_args_t *res_args); +int til_args_help(FILE *out); + +#endif |