summaryrefslogtreecommitdiff
path: root/source4/include/charset.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-16 09:20:34 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-16 09:20:34 +0000
commit7779b1e00022599f9b77dab7f5f983d930514f15 (patch)
treeb1e860ce476e5b15993f5532d5c3a854f912e83e /source4/include/charset.h
parent24c22aef90d8534ee2d016b37b2b302f1367d106 (diff)
downloadsamba-7779b1e00022599f9b77dab7f5f983d930514f15.tar.gz
samba-7779b1e00022599f9b77dab7f5f983d930514f15.tar.bz2
samba-7779b1e00022599f9b77dab7f5f983d930514f15.zip
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)
Diffstat (limited to 'source4/include/charset.h')
-rw-r--r--source4/include/charset.h4
1 files changed, 2 insertions, 2 deletions
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