NetSurf
Toggle main menu visibility
Main Page
Related Pages
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
f
h
i
k
l
m
n
p
q
r
s
w
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
b
c
f
g
h
l
p
s
t
Files
File List
Globals
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
_
a
b
c
d
e
f
g
h
i
j
l
m
n
p
q
r
s
t
u
v
w
x
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
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 Tue Feb 18 2025 23:16:37 for NetSurf by
1.9.4