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

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