diff options
author | François Revel <mmu_man@netsurf-browser.org> | 2008-10-03 03:40:42 +0000 |
---|---|---|
committer | François Revel <mmu_man@netsurf-browser.org> | 2008-10-03 03:40:42 +0000 |
commit | 209c72b0113b5235a49af7a16e2aecb8e9f9c8ef (patch) | |
tree | 825dcad0e1a2827583e4b98562aceec8adc3b10f /content/content.h | |
parent | 0980d865b43982084cf6d8af17436c664e33af5b (diff) | |
download | netsurf-209c72b0113b5235a49af7a16e2aecb8e9f9c8ef.tar.gz netsurf-209c72b0113b5235a49af7a16e2aecb8e9f9c8ef.tar.bz2 |
Add a function to tell the mime type for a content type.
svn path=/trunk/netsurf/; revision=5478
Diffstat (limited to 'content/content.h')
-rw-r--r-- | content/content.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content.h b/content/content.h index 75be8cfb1..a75fd22b2 100644 --- a/content/content.h +++ b/content/content.h @@ -281,6 +281,7 @@ extern const char * const content_status_name[]; content_type content_lookup(const char *mime_type); +const char *content_mime(content_type type); struct content * content_create(const char *url); struct content * content_get(const char *url); struct content * content_get_ready(const char *url); |