From 38bcb14d7765a1231527f65f9a1c3d9e8045697e Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 10 May 2011 19:32:21 +0000 Subject: Migrate to new MIMEtyper svn path=/trunk/netsurf/; revision=12375 --- amiga/filetype.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'amiga/filetype.h') diff --git a/amiga/filetype.h b/amiga/filetype.h index 73e71efd9..d9b76ee5f 100644 --- a/amiga/filetype.h +++ b/amiga/filetype.h @@ -1,5 +1,5 @@ /* - * Copyright 2010 Chris Young + * Copyright 2010 - 2011 Chris Young * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -33,8 +33,16 @@ void ami_mime_entry_free(struct ami_mime_entry *mimeentry); struct Node *ami_mime_from_datatype(struct DataType *dt, lwc_string **mimetype, struct Node *start_node); +struct Node *ami_mime_to_filetype(lwc_string *mimetype, + lwc_string **filetype, struct Node *start_node); +struct Node *ami_mime_to_plugincmd(lwc_string *mimetype, + lwc_string **plugincmd, struct Node *start_node); +struct Node *ami_mime_has_cmd(lwc_string **mimetype, struct Node *start_node); + +bool ami_mime_compare(struct hlcache_handle *c, const char *type); + +/* deprecated */ const char *ami_content_type_to_file_type(content_type type); void ami_datatype_to_mimetype(struct DataType *dtn, char *mimetype); -bool ami_mime_compare(struct hlcache_handle *c, const char *type); #endif -- cgit v1.2.3