diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-06-15 21:53:49 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-06-15 21:53:49 +0000 |
commit | 790bdf2e2afc06c9e511ad2557232a3b8c9fd71a (patch) | |
tree | 615da70bfdf02fd3d52ecb5e0ceccc4f9eaf7a3c /amiga/filetype.h | |
parent | 26101a1af6d784bc533fb21526e6e43b98a4d394 (diff) | |
download | netsurf-790bdf2e2afc06c9e511ad2557232a3b8c9fd71a.tar.gz netsurf-790bdf2e2afc06c9e511ad2557232a3b8c9fd71a.tar.bz2 |
convert from mimetype to filetype rather than simple content type to filetype, where
available
svn path=/trunk/netsurf/; revision=12484
Diffstat (limited to 'amiga/filetype.h')
-rw-r--r-- | amiga/filetype.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/amiga/filetype.h b/amiga/filetype.h index 03302bf57..851dddf36 100644 --- a/amiga/filetype.h +++ b/amiga/filetype.h @@ -37,7 +37,9 @@ struct Node *ami_mime_from_datatype(struct DataType *dt, struct Node *ami_mime_to_filetype(lwc_string *mimetype, lwc_string **filetype, struct Node *start_node); +const char *ami_mime_content_to_filetype(struct hlcache_handle *c); lwc_string *ami_mime_content_to_cmd(struct hlcache_handle *c); + struct Node *ami_mime_has_cmd(lwc_string **mimetype, struct Node *start_node); bool ami_mime_compare(struct hlcache_handle *c, const char *type); |