summaryrefslogtreecommitdiff
path: root/amiga/filetype.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-05-10 19:32:21 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-05-10 19:32:21 +0000
commit38bcb14d7765a1231527f65f9a1c3d9e8045697e (patch)
tree683922a5bc44430a5b47ed30ce18fa96c9ae54d1 /amiga/filetype.h
parent4f8995ae8d82d462af895468757e7de614c70127 (diff)
downloadnetsurf-38bcb14d7765a1231527f65f9a1c3d9e8045697e.tar.gz
netsurf-38bcb14d7765a1231527f65f9a1c3d9e8045697e.tar.bz2
Migrate to new MIMEtyper
svn path=/trunk/netsurf/; revision=12375
Diffstat (limited to 'amiga/filetype.h')
-rw-r--r--amiga/filetype.h12
1 files changed, 10 insertions, 2 deletions
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 <chris@unsatisfactorysoftware.co.uk>
+ * Copyright 2010 - 2011 Chris Young <chris@unsatisfactorysoftware.co.uk>
*
* 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