aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 1b7c0b83a..ef4a34f07 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -2026,14 +2026,17 @@ char *percent_decode_in_place(char *str, int strict) FAST_FUNC;
2026 2026
2027 2027
2028extern const char bb_uuenc_tbl_base64[] ALIGN1; 2028extern const char bb_uuenc_tbl_base64[] ALIGN1;
2029extern const char bb_uuenc_tbl_base32[] ALIGN1;
2029extern const char bb_uuenc_tbl_std[] ALIGN1; 2030extern const char bb_uuenc_tbl_std[] ALIGN1;
2030void bb_uuencode(char *store, const void *s, int length, const char *tbl) FAST_FUNC; 2031void bb_uuencode(char *store, const void *s, int length, const char *tbl) FAST_FUNC;
2031enum { 2032enum {
2032 BASE64_FLAG_UU_STOP = 0x100, 2033 BASE64_FLAG_UU_STOP = 0x100,
2034 BASE64_32 = 0x200, /* base32 */
2033 /* Sign-extends to a value which never matches fgetc result: */ 2035 /* Sign-extends to a value which never matches fgetc result: */
2034 BASE64_FLAG_NO_STOP_CHAR = 0x80, 2036 BASE64_FLAG_NO_STOP_CHAR = 0x80,
2035}; 2037};
2036const char *decode_base64(char **pp_dst, const char *src) FAST_FUNC; 2038const char *decode_base64(char **pp_dst, const char *src) FAST_FUNC;
2039const char *decode_base32(char **pp_dst, const char *src) FAST_FUNC;
2037void read_base64(FILE *src_stream, FILE *dst_stream, int flags) FAST_FUNC; 2040void read_base64(FILE *src_stream, FILE *dst_stream, int flags) FAST_FUNC;
2038 2041
2039typedef struct md5_ctx_t { 2042typedef struct md5_ctx_t {