NetSurf
|
Go to the source code of this file.
Functions | |
css_error | nscss_resolve_url (void *pw, const char *base, lwc_string *rel, lwc_string **abs) |
URL resolution callback for libcss. More... | |
css_error nscss_resolve_url | ( | void * | pw, |
const char * | base, | ||
lwc_string * | rel, | ||
lwc_string ** | abs | ||
) |
URL resolution callback for libcss.
pw | Resolution context |
base | Base URI |
rel | Relative URL |
abs | Pointer to location to receive resolved URL |
Definition at line 27 of file internal.c.
References base, NSERROR_NOMEM, NSERROR_OK, nsurl_access(), nsurl_create(), nsurl_join(), nsurl_length(), and nsurl_unref().
Referenced by nscss_create_css_data(), nscss_create_inline_style(), and nscss_register_import().