diff options
Diffstat (limited to 'src/modules/json/JSON_Base64.h')
-rw-r--r-- | src/modules/json/JSON_Base64.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/modules/json/JSON_Base64.h b/src/modules/json/JSON_Base64.h index 1e2d76baa8..6c14aeb866 100644 --- a/src/modules/json/JSON_Base64.h +++ b/src/modules/json/JSON_Base64.h @@ -1,14 +1,14 @@ -#ifndef JSON_BASE64_H -#define JSON_BASE64_H - -#include "JSONDebug.h" -#ifdef JSON_BINARY //if this is not needed, don't waste space compiling it - -class JSONBase64 { -public: - static json_string json_encode64(const unsigned char * binary, size_t bytes); - static std::string json_decode64(const json_string & encoded); -}; - -#endif -#endif +#ifndef JSON_BASE64_H
+#define JSON_BASE64_H
+
+#include "JSONDebug.h"
+#ifdef JSON_BINARY //if this is not needed, don't waste space compiling it
+
+class JSONBase64 {
+public:
+ static json_string json_encode64(const unsigned char * binary, size_t bytes);
+ static std::string json_decode64(const json_string & encoded);
+};
+
+#endif
+#endif
|