]> mj.ucw.cz Git - libucw.git/blobdiff - lib/lib.h
Implemented base-224 encoder and decoder.
[libucw.git] / lib / lib.h
index dcf97932d3d1bebd9d3bce1e43be872fbee74098..dea7c10c8929fa7fe923d24f69bbb78d12204e0a 100644 (file)
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -157,7 +157,7 @@ uns get_timer(void);
 
 typedef struct regex regex;
 
-regex *rx_compile(byte *r);
+regex *rx_compile(byte *r, int icase);
 void rx_free(regex *r);
 int rx_match(regex *r, byte *s);
 int rx_subst(regex *r, byte *by, byte *src, byte *dest, uns destlen);
@@ -176,4 +176,8 @@ void munmap_file(void *start, unsigned len);
 void setproctitle_init(int argc, char **argv);
 void setproctitle(char *msg, ...) __attribute__((format(printf,1,2)));
 
+/* randomkey.c */
+
+void randomkey(byte *buf, uns size);
+
 #endif