// snprintf and vsnprintf are NOT portable. Use their DP counterparts instead
+#ifdef snprintf
+# undef snprintf
+#endif
#define snprintf DO_NOT_USE_SNPRINTF__USE_DPSNPRINTF
+#ifdef vsnprintf
+# undef vsnprintf
+#endif
#define vsnprintf DO_NOT_USE_VSNPRINTF__USE_DPVSNPRINTF
// dpsnprintf and dpvsnprintf
// decodes XPM file to XPM array (as if #include'd)
char **XPM_DecodeString(const char *in);
+size_t base64_encode(unsigned char *buf, size_t buflen, size_t outbuflen);
+
#endif