refactor unknown attribute syntax detection
[moonshot.git] / mech_eap / util_base64.h
index 84313e4..d015efe 100644 (file)
 extern "C" {
 #endif
 
-int
+ssize_t
 base64Encode(const void *, int, char **);
 
-int
+ssize_t
 base64Decode(const char *, void *);
 
+int
+base64Valid(const char *str);
+
 #define BASE64_EXPAND(n)        (n * 4 / 3 + 4)
 
 #ifdef __cplusplus