chiark / gitweb /
base64 encoder
[disorder] / lib / mime.h
index 33009897a601a1e2838dcd253468e805c8bf59d3..b6d21ce3b34d3aa379c7410912f6c72da9063c8a 100644 (file)
@@ -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);
-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 */