aboutsummaryrefslogtreecommitdiff
path: root/config-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'config-parser.h')
-rw-r--r--config-parser.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/config-parser.h b/config-parser.h
new file mode 100644
index 0000000..1026a98
--- /dev/null
+++ b/config-parser.h
@@ -0,0 +1,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[]);