~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
register/confirm commands, and tests, and docs
[disorder]
/
lib
/
mime.h
diff --git
a/lib/mime.h
b/lib/mime.h
index
3300989
..
b6d21ce
100644
(file)
--- a/
lib/mime.h
+++ b/
lib/mime.h
@@
-54,7
+54,8
@@
int mime_rfc2388_content_disposition(const char *s,
/* Parse an RFC2388-style content-disposition field */
char *mime_qp(const char *s);
/* Parse an RFC2388-style content-disposition field */
char *mime_qp(const char *s);
-char *mime_base64(const char *s);
+char *mime_base64(const char *s, size_t *nsp);
+char *mime_to_base64(const uint8_t *s, size_t ns);
/* convert quoted-printable or base64 data */
/** @brief Parsed form of an HTTP Cookie: header field */
/* convert quoted-printable or base64 data */
/** @brief Parsed form of an HTTP Cookie: header field */