summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-02-19 23:02:39 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-02-19 23:02:39 +0000
commitefa1571b8bdc178a981dc37a2c4d1add67b9c0bd (patch)
tree63db31d36f131d7ede01a14a1ba38ff6545b00c6 /source3/include
parent6bd2af90cb62d5090b8a73fa19d043e892e8e7c3 (diff)
downloadsamba-efa1571b8bdc178a981dc37a2c4d1add67b9c0bd.tar.gz
samba-efa1571b8bdc178a981dc37a2c4d1add67b9c0bd.tar.bz2
samba-efa1571b8bdc178a981dc37a2c4d1add67b9c0bd.zip
Patch from Hasch@t-online.de (Juergen Hasch) to add UTF-8 as an explict
character set for conversion. To be used in Winbind and the 'net ads' commands. Andrew Bartlett (This used to be commit fa9d3060ff7510e176d7608b49075379500f55c4)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/charset.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/charset.h b/source3/include/charset.h
index b942594d04..07d5e2d599 100644
--- a/source3/include/charset.h
+++ b/source3/include/charset.h
@@ -19,6 +19,6 @@
*/
/* this defines the charset types used in samba */
-typedef enum {CH_UCS2=0, CH_UNIX=1, CH_DISPLAY=2, CH_DOS=3} charset_t;
+typedef enum {CH_UCS2=0, CH_UNIX=1, CH_DISPLAY=2, CH_DOS=3, CH_UTF8=4} charset_t;
-#define NUM_CHARSETS 4
+#define NUM_CHARSETS 5