xmlmime.h 493 B

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