aboutsummaryrefslogtreecommitdiff
path: root/config-parser.h
blob: 08aa93427c6413260d052b972def1b2670c0d438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

struct Config {
	int precision;
	bool human_readable;
	bool help;
};
typedef struct Config Config;
struct Result {
	bool success;
	void* result;
};
typedef struct Result Result;
Result/*Config*/ parse_config(int argc, char* argv[]);