NLnet Labs documentation
LDNS
Go to main site
Toggle main menu visibility
Main Page
Related Pages
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
w
y
z
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
w
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
c
d
e
g
h
n
o
p
r
s
v
Typedefs
a
b
c
d
e
h
k
l
o
p
r
s
t
z
Enumerations
Enumerator
d
l
r
z
Macros
_
a
b
c
d
f
h
i
l
m
o
p
r
s
t
u
w
linktest.c
Go to the documentation of this file.
1
2
#include "
ldns/config.h
"
3
#include <
ldns/ldns.h
>
4
5
int
6
main
(
void
)
7
{
8
ldns_rr
*rr =
ldns_rr_new
();
9
10
ldns_rr_free
(rr);
11
return
0;
12
}
13
config.h
ldns.h
Including this file will include all ldns files, and define some lookup tables.
main
int main(void)
Definition
linktest.c:6
ldns_rr_free
void ldns_rr_free(ldns_rr *rr)
frees an RR structure
Definition
rr.c:81
ldns_rr_new
ldns_rr * ldns_rr_new(void)
creates a new rr structure.
Definition
rr.c:30
ldns_struct_rr
Resource Record.
Definition
rr.h:318