diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-03-19 15:00:21 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-03-19 15:00:21 +0000 |
commit | 93e2b4855ba5b16a507e75dc533500efcc91e065 (patch) | |
tree | d30d3542827cda6aa67fdbe99ada8160942c5578 /content/mimesniff.h | |
parent | 6fb654d35634c01344fae8ace5ef6d340cdafd17 (diff) | |
download | netsurf-93e2b4855ba5b16a507e75dc533500efcc91e065.tar.gz |
make mimesniffing use core strings
Diffstat (limited to 'content/mimesniff.h')
-rw-r--r-- | content/mimesniff.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/content/mimesniff.h b/content/mimesniff.h index bf3e493f3..474f7b87f 100644 --- a/content/mimesniff.h +++ b/content/mimesniff.h @@ -16,8 +16,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/** \file - * MIME type sniffer (interface) +/** + * \file + * MIME type sniffer interface */ #ifndef NETSURF_CONTENT_MIMESNIFF_H_ @@ -31,8 +32,10 @@ struct llcache_handle; /** - * Compute the effective MIME type for an object using the sniffing - * algorithm described in http://mimesniff.spec.whatwg.org/ + * Compute the effective MIME type for an object + * + * The implementation uses the sniffing algorithm described in + * http://mimesniff.spec.whatwg.org/ * * \param handle Source data handle to sniff * \param data First data chunk, or NULL @@ -49,7 +52,4 @@ nserror mimesniff_compute_effective_type(struct llcache_handle *handle, const uint8_t *data, size_t len, bool sniff_allowed, bool image_only, lwc_string **effective_type); -nserror mimesniff_init(void); -void mimesniff_fini(void); - #endif |