diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-05-26 11:18:41 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-05-26 11:18:41 +0100 |
commit | 6722943b81c0dba84ed187b2d117cc92972117ed (patch) | |
tree | 5de3de53a92696c9a4b9edcfd54e7f608ad2fb04 /content/handlers/css/internal.h | |
parent | c25eb6b7e7a08d7e2aaf33994c2c24053cf47b82 (diff) | |
download | netsurf-6722943b81c0dba84ed187b2d117cc92972117ed.tar.gz netsurf-6722943b81c0dba84ed187b2d117cc92972117ed.tar.bz2 |
move the CSS content handler
Diffstat (limited to 'content/handlers/css/internal.h')
-rw-r--r-- | content/handlers/css/internal.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/content/handlers/css/internal.h b/content/handlers/css/internal.h new file mode 100644 index 000000000..5c539c843 --- /dev/null +++ b/content/handlers/css/internal.h @@ -0,0 +1,35 @@ +/* + * Copyright 2009 John-Mark Bell <jmb@netsurf-browser.org> + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef NETSURF_CSS_INTERNAL_H_ +#define NETSURF_CSS_INTERNAL_H_ + +/** + * URL resolution callback for libcss + * + * \param pw Resolution context + * \param base Base URI + * \param rel Relative URL + * \param abs Pointer to location to receive resolved URL + * \return CSS_OK on success, + * CSS_NOMEM on memory exhaustion, + * CSS_INVALID if resolution failed. + */ +css_error nscss_resolve_url(void *pw, const char *base, lwc_string *rel, lwc_string **abs); + +#endif |