summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-02-16 16:30:56 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-02-18 17:00:34 +1100
commit92faeaeea841dd0bce9460d25429846ae2fdc0af (patch)
tree1280a8722d974c46e767047fe8ec9a65442dd5d7 /source3/include
parent0bad0e3ff2063f009557ab6ad7a442ceaed593ee (diff)
downloadsamba-92faeaeea841dd0bce9460d25429846ae2fdc0af.tar.gz
samba-92faeaeea841dd0bce9460d25429846ae2fdc0af.tar.bz2
samba-92faeaeea841dd0bce9460d25429846ae2fdc0af.zip
charset Remove use of {isupper,islower,toupper,tolower}_w functions
These now call the common _m functions that consider UTF16 code points. This removes the code which will make up a 'lame' table in memory, as this can just as correctly be handled by running the algorithm at runtime (which is to call toupper() and tolower() on characters < 128). When used, a top level waf build will always locate the correct table - in the build tree or outside - due to relinking the installed binary. Andrew Bartlett
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 07852527a8..8ca4db2b61 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1479,10 +1479,6 @@ size_t dos_PutUniCode(char *dst,const char *src, size_t len, bool null_terminate
char *skip_unibuf(char *src, size_t len);
int rpcstr_push(void *dest, const char *src, size_t dest_len, int flags);
int rpcstr_push_talloc(TALLOC_CTX *ctx, smb_ucs2_t **dest, const char *src);
-smb_ucs2_t toupper_w(smb_ucs2_t val);
-smb_ucs2_t tolower_w( smb_ucs2_t val );
-bool islower_w(smb_ucs2_t c);
-bool isupper_w(smb_ucs2_t c);
bool isvalid83_w(smb_ucs2_t c);
size_t strlen_w(const smb_ucs2_t *src);
size_t strnlen_w(const smb_ucs2_t *src, size_t max);