summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-06-11 01:03:06 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-06-11 01:03:06 +0000
commitc6e63aa896a10656f6205828e744b722fc72f8ac (patch)
treea491f34425b6a5c47c4284c18e30c53cc57d112f /source3/include
parent56adabeed7739cf800000adbf3d9530f2174442a (diff)
downloadsamba-c6e63aa896a10656f6205828e744b722fc72f8ac.tar.gz
samba-c6e63aa896a10656f6205828e744b722fc72f8ac.tar.bz2
samba-c6e63aa896a10656f6205828e744b722fc72f8ac.zip
Makefile: Added quoata changes for Linux from Thorvald Natvig
Makefile.RPM: Added quoata changes for Linux from Thorvald Natvig charset.c: Large changes to add multiple client code pages. charset.h: Changed charset_initialise() proto. client.c: Fixed message sending bug. Changed charset_initialise(). ipc.c: Fixed #ifdef compile problems. loadparm.c: Added "client code page" option. nmbd.c: Changed charset_initialise(). Fixed lmhosts read. nmblookup.c: Changed charset_initialise(). proto.h: Added lp_client_code_page(void). quotas.c: Added quoata changes for Linux from Thorvald Natvig reply.c: Changed debug level. Made SMBecho ignore tid. server.c: Changed charset_initialise(). smb.h: Added DEFAULT_CLIENT_CODE_PAGE as 850. smbpasswd.c: Changed charset_initialise(). status.c: Changed charset_initialise(). testparm.c: Changed charset_initialise(). testprns.c: Changed charset_initialise(). Jeremy Allison (jallison@whistle.com) (This used to be commit 957025bace1bcff34d21a6caeca498e85abccb23)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/charset.h2
-rw-r--r--source3/include/proto.h3
-rw-r--r--source3/include/smb.h4
3 files changed, 7 insertions, 2 deletions
diff --git a/source3/include/charset.h b/source3/include/charset.h
index 5f5e2016ee..25544fb621 100644
--- a/source3/include/charset.h
+++ b/source3/include/charset.h
@@ -25,7 +25,7 @@ extern char *dos_char_map;
extern char *upper_char_map;
extern char *lower_char_map;
extern void add_char_string(char *s);
-extern void charset_initialise(void);
+extern void charset_initialise(int);
#ifdef toupper
#undef toupper
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 66e626487e..fd4e2dd23c 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -14,7 +14,7 @@ int interpret_character_set(char *str, int def);
/*The following definitions come from charset.c */
-void charset_initialise(void);
+void charset_initialise(int client_codepage);
void add_char_string(char *s);
/*The following definitions come from chgpasswd.c */
@@ -186,6 +186,7 @@ int lp_printing(void);
int lp_maxdisksize(void);
int lp_lpqcachetime(void);
int lp_syslog(void);
+int lp_client_code_page(void);
char *lp_preexec(int );
char *lp_postexec(int );
char *lp_rootpreexec(int );
diff --git a/source3/include/smb.h b/source3/include/smb.h
index e0c08183db..9af653220a 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -909,4 +909,8 @@ enum case_handling {CASE_LOWER,CASE_UPPER};
#define VUID_OFFSET 100 /* Amount to bias returned vuid numbers */
#endif
+
+/* Default client code page - 850 - Western European */
+#define DEFAULT_CLIENT_CODE_PAGE 850
+
/* _SMB_H */