xmlreaderimpl/support/expat-2.0.1/xmlwf/xmlmime.h
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 12 May 2015 12:20:53 +0100
changeset 296 ea3dbc023c80
parent 172 xmlreaderimpl/trunk/support/expat-2.0.1/xmlwf/xmlmime.h@b831df7d33f9
permissions -rw-r--r--
Post-convert fixes Removed intermediate `trunk` directories used for branching in SVN

#ifdef __cplusplus
extern "C" {
#endif

/* Registered charset names are at most 40 characters long. */

#define CHARSET_MAX 41

/* Figure out the charset to use from the ContentType.
   buf contains the body of the header field (the part after "Content-Type:").
   charset gets the charset to use.  It must be at least CHARSET_MAX chars
   long.  charset will be empty if the default charset should be used.
*/

void getXMLCharset(const char *buf, char *charset);

#ifdef __cplusplus
}
#endif