summaryrefslogtreecommitdiff
path: root/src/options.h
blob: d62eb5846b37c6956dd3a605262c7a19d56e69a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef ARGENT_OPTIONS_H
#define ARGENT_OPTIONS_H

struct argent_options {
   const char *conf_filename;
   const char *output_dir;
   int log_level;
};

/* return 0 and fill `opts` on success; return nonzero on failure */
int parse_options(struct argent_options *opts, int argc, char **argv);

#endif