diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-07-03 00:44:39 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-07-03 00:44:39 +0000 |
commit | 0df1e25542cfddbb383955e6f541207e38acf654 (patch) | |
tree | 06aeba3ee4301d66bc1c1226d42eb514fbde2f1c /source3/include | |
parent | 09b2af9a648e468dea6f47e8c3533ba82b86d1f9 (diff) | |
download | samba-0df1e25542cfddbb383955e6f541207e38acf654.tar.gz samba-0df1e25542cfddbb383955e6f541207e38acf654.tar.bz2 samba-0df1e25542cfddbb383955e6f541207e38acf654.zip |
Kill off codepage related stuff, now we don't use codepages any more.
Andrew Bartlett
(This used to be commit d1ca2b9f23ce701eb6b6becafb1acd813fc8fc3a)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 4 | ||||
-rw-r--r-- | source3/include/smb.h | 24 |
2 files changed, 0 insertions, 28 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 26931ffd97..435810a1ba 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -753,10 +753,6 @@ extern int errno; #include "mangle.h" -#ifndef MAXCODEPAGELINES -#define MAXCODEPAGELINES 256 -#endif - /* * Type for wide character dirent structure. * Only d_name is defined by POSIX. diff --git a/source3/include/smb.h b/source3/include/smb.h index c15b15564f..b095c3d8fa 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1366,30 +1366,6 @@ enum case_handling {CASE_LOWER,CASE_UPPER}; #define UID_FIELD_INVALID 0 #define VUID_OFFSET 100 /* Amount to bias returned vuid numbers */ -/* Defines needed for multi-codepage support. */ -#define MSDOS_LATIN_1_CODEPAGE 850 -#define KANJI_CODEPAGE 932 -#define HANGUL_CODEPAGE 949 -#define BIG5_CODEPAGE 950 -#define SIMPLIFIED_CHINESE_CODEPAGE 936 - -#ifdef KANJI -/* - * Default client code page - Japanese - */ -#define DEFAULT_CLIENT_CODE_PAGE KANJI_CODEPAGE -#else /* KANJI */ -/* - * Default client code page - 850 - Western European - */ -#define DEFAULT_CLIENT_CODE_PAGE MSDOS_LATIN_1_CODEPAGE -#endif /* KANJI */ - -/* Global val set if multibyte codepage. */ -extern int global_is_multibyte_codepage; - -#define get_character_len(x) (global_is_multibyte_codepage ? skip_multibyte_char((x)) : 0) - /* * Size of buffer to use when moving files across filesystems. */ |