File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / expat / xmlwf / xmlmime.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:00:54 2012 UTC (12 years, 8 months ago) by misho
Branches: expat, MAIN
CVS tags: v2_1_0, v2_0_1p0, v2_0_1, HEAD
expat

    1: #ifdef __cplusplus
    2: extern "C" {
    3: #endif
    4: 
    5: /* Registered charset names are at most 40 characters long. */
    6: 
    7: #define CHARSET_MAX 41
    8: 
    9: /* Figure out the charset to use from the ContentType.
   10:    buf contains the body of the header field (the part after "Content-Type:").
   11:    charset gets the charset to use.  It must be at least CHARSET_MAX chars
   12:    long.  charset will be empty if the default charset should be used.
   13: */
   14: 
   15: void getXMLCharset(const char *buf, char *charset);
   16: 
   17: #ifdef __cplusplus
   18: }
   19: #endif

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