From 7b78b6986e714cbd7653b89287b928974eb5ee4f Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 1 Jan 2022 13:24:33 -0600 Subject: initial commit --- src/options.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/options.h (limited to 'src/options.h') 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 -- cgit v1.2.1