summaryrefslogtreecommitdiff
path: root/src/options/options.h
blob: a7444f68f6f0c51552a460d61c470f2f89c94d1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef HONEY_OPTIONS_H
#define HONEY_OPTIONS_H

struct honey_options {
	const char *working_dir;
	const char *script_file; // main entry point
	int log_level;
};

enum outcomes_t {
	CONTINUE_SUCCESS,
	EXIT_SUCCESS,
	EXIT_FAILURE,
};

enum outcomes_t parse_options(struct honey_options *options, int argc, char **argv);

#endif