diff options
author | Jeremy Allison <jra@samba.org> | 1999-12-23 01:57:43 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1999-12-23 01:57:43 +0000 |
commit | d7b72d4cbfb6bd1925abc7f95c1180d3d65856a5 (patch) | |
tree | d379840060ef9834e75c35d8f59381e64a2bdb13 /source/include/includes.h | |
parent | 82421e93c09790a7e38014c42f8402db5cb827e3 (diff) | |
download | samba-d7b72d4cbfb6bd1925abc7f95c1180d3d65856a5.tar.gz samba-d7b72d4cbfb6bd1925abc7f95c1180d3d65856a5.tar.xz samba-d7b72d4cbfb6bd1925abc7f95c1180d3d65856a5.zip |
Samba now includes a full ucs2 upper to lower case (and vica versa) map table.
Jeremy.
Diffstat (limited to 'source/include/includes.h')
-rw-r--r-- | source/include/includes.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index 0e8505daecf..0dd12bc9898 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -672,6 +672,13 @@ typedef struct smb_wpasswd { wpstring pw_shell; } SMB_STRUCT_WPASSWD; +/* Defines for wisXXX functions. */ +#define UNI_UPPER 0x1 +#define UNI_LOWER 0x2 +#define UNI_DIGIT 0x4 +#define UNI_XDIGIT 0x8 +#define UNI_SPACE 0x10 + /***** automatically generated prototypes *****/ #include "proto.h" @@ -695,6 +702,12 @@ typedef struct smb_wpasswd { #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) #define fstrcat(d,s) safe_strcat((d),(s),sizeof(fstring)-1) +/* smb_ucs2_t versions of the above. */ +#define wpstrcpy(d,s) safe_wstrcpy((d),(s),sizeof(wpstring)) +#define wpstrcat(d,s) safe_wstrcat((d),(s),sizeof(wpstring)) +#define wfstrcpy(d,s) safe_wstrcpy((d),(s),sizeof(wfstring)) +#define wfstrcat(d,s) safe_wstrcat((d),(s),sizeof(wfstring)) + #ifdef __COMPAR_FN_T #define QSORT_CAST (__compar_fn_t) #endif |