summaryrefslogtreecommitdiffstats
path: root/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'main.h')
-rw-r--r--main.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/main.h b/main.h
new file mode 100644
index 0000000..3a4ddb6
--- /dev/null
+++ b/main.h
@@ -0,0 +1,13 @@
+#ifndef MAIN_H
+#define MAIN_H
+
+#include <stdbool.h>
+//function prototypes
+char *base64Encode(unsigned char *input, int size);
+int base64Decode(unsigned char *string, int size);
+void stdinMode(char *buffer, int wrap, bool decode, char argv[]);
+
+#define DEFAULT_SIZE 4096 //the default size to make the buffer for input
+#define WRAP_CHAR 76 //default wrapping is 76 characters
+
+#endif