const char *default_charset, PRBool override_charset)
MimeDisplayOptions *opt)
mime_decode_filename(char *name, const char *charset,                     const char *default_charset, PRBool override_charset){	char *s = name, *d = name;	char *cvt, *returnVal = NULL;  	// If charset parameter is used, this is RFC2231 encoding.	if (charset)	{		MIME_ConvertString(charset, "UTF-8", name, &returnVal);		return returnVal;	}	while (*s)	{		/* Remove backslashes when they are used to escape special characters. */		if ((*s == '\\') &&			((*(s+1) == CR) || (*(s+1) == LF) || (*(s+1) == '"') || (*(s+1) == '\\')))			s++; /* take whatever char follows the backslash */		if (*s)			*d++ = *s++;	}	*d = 0;	returnVal = name;	    cvt = MIME_DecodeMimeHeader(returnVal, default_charset, override_charset,                                PR_TRUE);    if (cvt && cvt != returnVal) {      returnVal = cvt;    }	return returnVal;}