From 7779b1e00022599f9b77dab7f5f983d930514f15 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 16 Dec 2003 09:20:34 +0000 Subject: added support for big-endian ucs2 strings (as used by big-endian msrpc). this was easier than I expected! (This used to be commit a0a51af6b746b1f82faaa49d33c17fea9d708fb0) --- source4/include/charset.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/include/charset.h') diff --git a/source4/include/charset.h b/source4/include/charset.h index 3b3e613fd3..daf10e23c1 100644 --- a/source4/include/charset.h +++ b/source4/include/charset.h @@ -20,9 +20,9 @@ */ /* this defines the charset types used in samba */ -typedef enum {CH_UCS2=0, CH_UNIX=1, CH_DISPLAY=2, CH_DOS=3, CH_UTF8=4} charset_t; +typedef enum {CH_UCS2=0, CH_UNIX=1, CH_DISPLAY=2, CH_DOS=3, CH_UTF8=4, CH_UCS2BE=5} charset_t; -#define NUM_CHARSETS 5 +#define NUM_CHARSETS 6 /* * for each charset we have a function that pulls from that charset to -- cgit