aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index ed1fef6..0bdb581 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -205,6 +205,13 @@ char *dupstr(const char *s);
* misc.c
*/
void free_cfg(config_item *cfg);
+void obfuscate_bitmap(unsigned char *bmp, int bits, int decode);
+
+/* allocates output each time. len is always in bytes of binary data.
+ * May assert (or just go wrong) if lengths are unchecked. */
+char *bin2hex(const unsigned char *in, int inlen);
+unsigned char *hex2bin(const char *in, int outlen);
+
/*
* version.c