Displaying 1 result from an estimated 1 matches for "usedbytelen".
2001 Dec 12
1
MacOS X Server samba diffs
...******************************************************************/
static char *cp_to_utf8(char *from, BOOL overwrite)
{
-#ifdef USES_CFSTRING
unsigned char *dst;
unsigned char *src;
- int result = 0;
- smb_ucs2_t *ucs2result = NULL;
- unsigned int unicodeChars = 0;
- unsigned long usedByteLen = 0;
- unsigned long usedCharLen = 0;
-
- src = (unsigned char *)from;
- dst = (unsigned char *)cvtbuf;
-
- dst[0] = '\0';
- if (global_CFString_Encoding != kCFStringEncodingDOSJapanese)
- {
- if (*src)
- {
- ucs2result = dos_to_unicode(ucs2Str, src, 2048);
-...