path: root/textcode.h
diff options
authorFelix von Leitner <>2014-03-29 11:17:04 +0000
committerFelix von Leitner <>2014-03-29 11:17:04 +0000
commitbd638a862d9ca1a967fc12cd89425e34e3f1a72c (patch)
tree49f75d95a93570bac8c06766fec2b7c77fbb8d6c /textcode.h
parentba77fcc8ba50b8f8cb2f90e5f7c7afd8dba0749e (diff)
another attempt at a thread-safe array
Diffstat (limited to 'textcode.h')
1 files changed, 5 insertions, 1 deletions
diff --git a/textcode.h b/textcode.h
index bf6a089..4032c1b 100644
--- a/textcode.h
+++ b/textcode.h
@@ -45,7 +45,9 @@ size_t fmt_ldapescape2(char* dest,const char* src,size_t len,const char* escapem
* Worst case: len*6 */
size_t fmt_jsonescape(char* dest,const char* src,size_t len);
-/* These read one line from src, decoded it, and write the result to
+size_t fmt_base85(char* dest,const char* src,size_t len);
+/* These read one line from src, decode it, and write the result to
* dest. The number of decoded bytes is written to destlen. dest
* should be able to hold strlen(src) bytes as a rule of thumb. */
size_t scan_uuencoded(const char *src,char *dest,size_t *destlen);
@@ -60,6 +62,8 @@ size_t scan_cescape(const char *src,char *dest,size_t *destlen);
size_t scan_ldapescape(const char* src,char* dest,size_t *destlen);
size_t scan_jsonescape(const char* src,char* dest,size_t *destlen);
+size_t scan_base85(const char* src,char* dest,size_t *destlen);
/* WARNING: these functions _append_ to the stralloc, not overwrite! */
/* stralloc wrappers; return 1 on success, 0 on failure */