]> sjero.net Git - wget/blobdiff - src/utils.h
[svn] Added NTLM support.
[wget] / src / utils.h
index f93d2ae95b04a11f1e075f02b5fa5805c1a06008..119cd281e104b8101dad5671dbd8b1da722c2062 100644 (file)
@@ -125,4 +125,10 @@ double random_float PARAMS ((void));
 int run_with_timeout PARAMS ((double, void (*) (void *), void *));
 void xsleep PARAMS ((double));
 
+/* How many bytes it will take to store LEN bytes in base64.  */
+#define BASE64_LENGTH(len) (4 * (((len) + 2) / 3))
+
+void base64_encode PARAMS ((const char *, char *, int));
+int base64_decode PARAMS ((const char *, char *));
+
 #endif /* UTILS_H */