summaryrefslogtreecommitdiffstats
path: root/src/onetimebluh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/onetimebluh.h')
-rw-r--r--src/onetimebluh.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/onetimebluh.h b/src/onetimebluh.h
new file mode 100644
index 0000000..3c32e1d
--- /dev/null
+++ b/src/onetimebluh.h
@@ -0,0 +1,22 @@
+#ifndef ONETIMEBLUH
+#define ONETIMEBLUH
+
+#define eprintf(...) fprintf(stderr, __VA_ARGS__)
+
+typedef struct opts {
+ int64_t comm;
+ int64_t nbytes;
+ int64_t quiet;
+ int64_t tear;
+ char* chars;
+ char* keyfile;
+ char* input;
+ char* output;
+} Opts;
+
+void xor (Opts* opzioni);
+void keyrand (Opts* opzioni);
+void bluh (Opts* opzioni);
+void help (char* av[]);
+
+#endif