aboutsummaryrefslogtreecommitdiff
path: root/voerbak/argparse.h
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-23 20:52:24 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-23 20:52:24 +0100
commit9b712de308e150cc70cf7571c9debfff17978fd2 (patch)
treef4dd083f675ce6789f3e9c1e55e1387a0c7ca19d /voerbak/argparse.h
parent1a55f52bb79b609cd850a77e2f7a9fdc6b4fbf6b (diff)
voerbak 2.1.3
Diffstat (limited to 'voerbak/argparse.h')
-rw-r--r--voerbak/argparse.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/voerbak/argparse.h b/voerbak/argparse.h
new file mode 100644
index 0000000..243e81f
--- /dev/null
+++ b/voerbak/argparse.h
@@ -0,0 +1,9 @@
+/** @brief Used for storing arguments */
+struct arguments {
+ int width, height;
+ char* solver;
+ int verbosity;
+};
+
+/** @brief Parse arguments */
+struct arguments argparse(int argc, char* argv[]);