diff options
author | sanine <sanine.not@pm.me> | 2022-01-01 13:24:33 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-01-01 13:24:33 -0600 |
commit | 7b78b6986e714cbd7653b89287b928974eb5ee4f (patch) | |
tree | b6334336f722e44bf3020e316976ed5ed3b85ba0 /src/options.h |
initial commit
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 |