#define _UTIL_H__
#include <string>
#include <stdint.h>
namespace Util {
bool add_mcookie(const std::string &mcookie, const char *display,
long random(void);
long makeseed(void);
int utf8ToUtf16(const char *utf8, const int utf8_length,
uint16_t *utf16, const int utf16_max_length);
bool utf16EqualToAscii(const char *ascii, uint16_t *utf16, int utf16Len);
std::string utf16BufToUtf8String(const uint16_t *utf16Buf, int utf16Len);
}
#endif /* _UTIL_H__ */