summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-02-14 23:54:52 -0600
committerzachir <zachir@librem.one>2024-02-14 23:54:52 -0600
commit0689d6bbbb0e6ecc3934d8e4a2e9b0fc66a0b29f (patch)
tree8736d669c2f2a3f1d2f31eb56730ce3803091e47 /main.h
even: Add bin to check if number is even
even is a basic binary to check if the provided number is even.
Diffstat (limited to 'main.h')
-rw-r--r--main.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/main.h b/main.h
new file mode 100644
index 0000000..61f7b1c
--- /dev/null
+++ b/main.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2024 Zachary Smith
+#ifndef MAIN_H_
+#define MAIN_H_
+
+#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <stdio.h>
+
+#include <assert.h>
+#include <string.h>
+
+#define VERSION "1.0.0"
+
+enum return_t {
+ SUCCESS = 0,
+ ERR
+};
+
+void printhelp(void);
+void printcopyright(void);
+void printversion(void);
+int main(int, char**);
+
+#endif // MAIN_H_