aboutsummaryrefslogtreecommitdiffstats
path: root/src/binhex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binhex.h')
-rw-r--r--src/binhex.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/binhex.h b/src/binhex.h
new file mode 100644
index 0000000..71348db
--- /dev/null
+++ b/src/binhex.h
@@ -0,0 +1,9 @@
+#ifndef BINHEX_H
+#define BINHEX_H
+
+char *bin2hex(const unsigned char *bin, size_t len);
+int hexchr2bin(const char hex, char *out);
+size_t hexs2bin(const char *hex, unsigned char **out);
+
+#endif /* BINHEX_H */
+