NetSurf
content
handlers
css
internal.h
Go to the documentation of this file.
1
/*
2
* Copyright 2009 John-Mark Bell <jmb@netsurf-browser.org>
3
*
4
* This file is part of NetSurf, http://www.netsurf-browser.org/
5
*
6
* NetSurf is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 2 of the License.
9
*
10
* NetSurf is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef NETSURF_CSS_INTERNAL_H_
20
#define NETSURF_CSS_INTERNAL_H_
21
22
/**
23
* URL resolution callback for libcss
24
*
25
* \param pw Resolution context
26
* \param base Base URI
27
* \param rel Relative URL
28
* \param abs Pointer to location to receive resolved URL
29
* \return CSS_OK on success,
30
* CSS_NOMEM on memory exhaustion,
31
* CSS_INVALID if resolution failed.
32
*/
33
css_error
nscss_resolve_url
(
void
*pw,
const
char
*
base
, lwc_string *rel, lwc_string **abs);
34
35
#endif
nscss_resolve_url
css_error nscss_resolve_url(void *pw, const char *base, lwc_string *rel, lwc_string **abs)
URL resolution callback for libcss.
Definition:
internal.c:27
base
@ base
Definition:
punycode.c:19
Generated on Fri Dec 27 2024 08:42:01 for NetSurf by
1.9.4