diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/charset.h | 25 | ||||
-rw-r--r-- | source3/include/includes.h | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/source3/include/charset.h b/source3/include/charset.h new file mode 100644 index 0000000000..3221349f4a --- /dev/null +++ b/source3/include/charset.h @@ -0,0 +1,25 @@ +/* + Unix SMB/Netbios implementation. + Version 3.0 + charset defines + Copyright (C) Andrew Tridgell 2001 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +/* this defines the charset types used in samba */ +typedef enum {CH_UCS2=0, CH_UNIX=1, CH_DISPLAY=2, CH_DOS=3} charset_t; + +#define NUM_CHARSETS 4 diff --git a/source3/include/includes.h b/source3/include/includes.h index ad1633fb87..b29759540f 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -639,6 +639,7 @@ extern int errno; #include "secrets.h" #include "messages.h" #include "util_list.h" +#include "charset.h" #include "util_getent.h" |