diff options
Diffstat (limited to 'src/options.h')
-rw-r--r-- | src/options.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/options.h b/src/options.h new file mode 100644 index 0000000..ae4e621 --- /dev/null +++ b/src/options.h @@ -0,0 +1,12 @@ +#ifndef ARGENT_OPTIONS_H +#define ARGENT_OPTIONS_H + +struct argent_options { + const char *conf_filename; + const char *output_dir; +}; + +/* return 0 and fill `opts` on success; return nonzero on failure */ +int parse_options(struct argent_options *opts, int argc, char **argv); + +#endif |