diff options
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 3 |
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 | ||
2028 | extern const char bb_uuenc_tbl_base64[] ALIGN1; | 2028 | extern const char bb_uuenc_tbl_base64[] ALIGN1; |
2029 | extern const char bb_uuenc_tbl_base32[] ALIGN1; | ||
2029 | extern const char bb_uuenc_tbl_std[] ALIGN1; | 2030 | extern const char bb_uuenc_tbl_std[] ALIGN1; |
2030 | void bb_uuencode(char *store, const void *s, int length, const char *tbl) FAST_FUNC; | 2031 | void bb_uuencode(char *store, const void *s, int length, const char *tbl) FAST_FUNC; |
2031 | enum { | 2032 | enum { |
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 | }; |
2036 | const char *decode_base64(char **pp_dst, const char *src) FAST_FUNC; | 2038 | const char *decode_base64(char **pp_dst, const char *src) FAST_FUNC; |
2039 | const char *decode_base32(char **pp_dst, const char *src) FAST_FUNC; | ||
2037 | void read_base64(FILE *src_stream, FILE *dst_stream, int flags) FAST_FUNC; | 2040 | void read_base64(FILE *src_stream, FILE *dst_stream, int flags) FAST_FUNC; |
2038 | 2041 | ||
2039 | typedef struct md5_ctx_t { | 2042 | typedef struct md5_ctx_t { |