Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / expat / dist / xmlwf / xmlmime.h
blobbf0356df0d919ba111bd00bc9b93694d0b5601b2
1 #ifdef __cplusplus
2 extern "C" {
3 #endif
5 /* Registered charset names are at most 40 characters long. */
7 #define CHARSET_MAX 41
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.
15 void getXMLCharset(const char *buf, char *charset);
17 #ifdef __cplusplus
19 #endif