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

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