send a composite name token instead of a sec context to shib
[moonshot.git] / mech_eap / util_base64.h
index 98f0c1f..d015efe 100644 (file)
 #ifndef _UTIL_BASE64_H_
 #define _UTIL_BASE64_H_
 
-#ifndef ROKEN_LIB_FUNCTION
-#ifdef _WIN32
-#define ROKEN_LIB_FUNCTION
-#define ROKEN_LIB_CALL __cdecl
-#else
-#define ROKEN_LIB_FUNCTION
-#define ROKEN_LIB_CALL
-#endif
-#endif
-
 #ifdef __cplusplus
 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