mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-26 11:24:57 +03:00
fetch_can_fetch can take const nsurl.
svn path=/trunk/netsurf/; revision=12902
This commit is contained in:
parent
7e7e1f6ed3
commit
e3211bf4fc
@ -523,7 +523,7 @@ void fetch_poll(void)
|
||||
* \return true if the scheme is supported
|
||||
*/
|
||||
|
||||
bool fetch_can_fetch(nsurl *url)
|
||||
bool fetch_can_fetch(const nsurl *url)
|
||||
{
|
||||
scheme_fetcher *fetcher = fetchers;
|
||||
bool match;
|
||||
|
@ -96,7 +96,7 @@ void fetch_poll(void);
|
||||
void fetch_quit(void);
|
||||
const char *fetch_filetype(const char *unix_path);
|
||||
char *fetch_mimetype(const char *ro_path);
|
||||
bool fetch_can_fetch(nsurl *url);
|
||||
bool fetch_can_fetch(const nsurl *url);
|
||||
void fetch_change_callback(struct fetch *fetch,
|
||||
fetch_callback callback,
|
||||
void *p);
|
||||
|
Loading…
x
Reference in New Issue
Block a user