File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / expat / xmlwf / xmlmime.h
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:00:54 2012 UTC (13 years, 2 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

#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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>