summaryrefslogtreecommitdiff
path: root/lib/util/charset/charset.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-10-31 15:41:34 +1100
committerAndrew Tridgell <tridge@samba.org>2008-10-31 15:41:34 +1100
commit55d55d9d9b881b2ec09fa76515cdd1cf6f0e2442 (patch)
treeb676358946045bc2271c1c75254ecaac21eb72b9 /lib/util/charset/charset.h
parent5ecccac1c34f58019b195f6838f57366faa3575d (diff)
downloadsamba-55d55d9d9b881b2ec09fa76515cdd1cf6f0e2442.tar.gz
samba-55d55d9d9b881b2ec09fa76515cdd1cf6f0e2442.tar.bz2
samba-55d55d9d9b881b2ec09fa76515cdd1cf6f0e2442.zip
finished adding UTF16_MUNGED charset
Changed the approach for the charset to go via utf16, which makes a bit more sense to read. Added a testsuiite for UTF16_MUNGED as part of LOCAL-ICONV
Diffstat (limited to 'lib/util/charset/charset.h')
-rw-r--r--lib/util/charset/charset.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/charset/charset.h b/lib/util/charset/charset.h
index 21fc20b8c3..cace79f949 100644
--- a/lib/util/charset/charset.h
+++ b/lib/util/charset/charset.h
@@ -28,9 +28,9 @@
#include <talloc.h>
/* this defines the charset types used in samba */
-typedef enum {CH_UTF16=0, CH_UNIX, CH_DOS, CH_UTF8, CH_UTF16BE} charset_t;
+typedef enum {CH_UTF16=0, CH_UNIX, CH_DOS, CH_UTF8, CH_UTF16BE, CH_UTF16MUNGED} charset_t;
-#define NUM_CHARSETS 5
+#define NUM_CHARSETS 6
/*
* for each charset we have a function that pulls from that charset to