View | Details | Raw Unified | Return to bug 192783 | Differences between
and this patch

Collapse All | Expand All

(-)util.h (+5 lines)
Lines 10-15 Link Here
10
#define _UTIL_H__
10
#define _UTIL_H__
11
11
12
#include <string>
12
#include <string>
13
#include <stdint.h>
13
14
14
namespace Util {
15
namespace Util {
15
	bool add_mcookie(const std::string &mcookie, const char *display,
16
	bool add_mcookie(const std::string &mcookie, const char *display,
Lines 19-24 Link Here
19
	long random(void);
20
	long random(void);
20
21
21
	long makeseed(void);
22
	long makeseed(void);
23
	int utf8ToUtf16(const char *utf8, const int utf8_length,
24
					uint16_t *utf16, const int utf16_max_length);
25
	bool utf16EqualToAscii(const char *ascii, uint16_t *utf16, int utf16Len);
26
	std::string utf16BufToUtf8String(const uint16_t *utf16Buf, int utf16Len);
22
}
27
}
23
28
24
#endif /* _UTIL_H__ */
29
#endif /* _UTIL_H__ */

Return to bug 192783