diff options
Diffstat (limited to 'src/tool_metalink.h')
-rw-r--r-- | src/tool_metalink.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tool_metalink.h b/src/tool_metalink.h index 39e6674d1..f7a0abe84 100644 --- a/src/tool_metalink.h +++ b/src/tool_metalink.h @@ -50,4 +50,10 @@ void clean_metalink(struct Configurable *config); int parse_metalink(struct Configurable *config, const char *infile); +/* + * Returns nonzero if content_type includes "application/metalink+xml" + * media-type. The check is done in case-insensitive manner. + */ +int check_metalink_content_type(const char *content_type); + #endif /* HEADER_CURL_TOOL_METALINK_H */ |