summaryrefslogtreecommitdiff
path: root/src/options.h
blob: ae4e621a9dc979f04ccabc3d71256aa8c02fb182 (plain)
1
2
3
4
5
6
7
8
9
10
11
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