feat(xml): add XML functions

This commit is contained in:
fallenoak 2022-12-30 16:57:19 -06:00 committed by GitHub
parent 125ffec928
commit 4e43886e37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
142 changed files with 68501 additions and 0 deletions

19
vendor/expat-2.0.1/xmlwf/xmlmime.h vendored Executable file
View file

@ -0,0 +1,19 @@
#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