summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
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 */