aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorLeonid Lisovskiy <lly.dev@gmail.com>2011-10-28 13:59:04 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-10-28 13:59:55 +0200
commit328f27fe447761f355104e7f524dc1115f16ca44 (patch)
tree1a8280c4cbc4458b89dda72c4d0c8f7402661355 /include/libbb.h
parentec447c7f01acb0e3abd9daa52a1b616be3f39484 (diff)
downloadbusybox-w32-328f27fe447761f355104e7f524dc1115f16ca44.tar.gz
busybox-w32-328f27fe447761f355104e7f524dc1115f16ca44.tar.bz2
busybox-w32-328f27fe447761f355104e7f524dc1115f16ca44.zip
libbb: split decode_base64 off read_base64
function old new delta decode_base64 - 182 +182 read_base64 378 255 -123 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 182/-123) Total: 59 bytes Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index d248781c3..791cdd94e 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1591,7 +1591,8 @@ enum {
1591 /* Sign-extends to a value which never matches fgetc result: */ 1591 /* Sign-extends to a value which never matches fgetc result: */
1592 BASE64_FLAG_NO_STOP_CHAR = 0x80, 1592 BASE64_FLAG_NO_STOP_CHAR = 0x80,
1593}; 1593};
1594void FAST_FUNC read_base64(FILE *src_stream, FILE *dst_stream, int flags); 1594const char *decode_base64(char **pp_dst, const char *src) FAST_FUNC;
1595void read_base64(FILE *src_stream, FILE *dst_stream, int flags) FAST_FUNC;
1595 1596
1596typedef struct md5_ctx_t { 1597typedef struct md5_ctx_t {
1597 uint8_t wbuffer[64]; /* always correctly aligned for uint64_t */ 1598 uint8_t wbuffer[64]; /* always correctly aligned for uint64_t */