GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
Main Page
Related Pages
+
Data Structures
Data Structures
Class Hierarchy
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
+
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
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
z
+
Enumerations
a
c
d
e
h
l
m
n
o
p
r
s
t
v
y
+
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
free.c
Go to the documentation of this file.
1
#include <stdlib.h>
2
3
#include <
grass/btree.h
>
4
5
int
btree_free
(
BTREE
* B)
6
{
7
void
*data, *key;
8
9
btree_rewind
(B);
10
while
(
btree_next
(B, &key, &data)) {
11
free
(key);
12
free
(data);
13
}
14
free
(B->
node
);
15
16
return
0;
17
}
btree.h
free
void free(void *)
btree_free
int btree_free(BTREE *B)
Definition:
free.c:5
BTREE
Definition:
btree.h:12
BTREE::node
BTREE_NODE * node
Definition:
btree.h:14
btree_rewind
int btree_rewind(BTREE *)
Definition:
btree/rewind.c:3
btree_next
int btree_next(BTREE *, void **, void **)
Definition:
btree/next.c:3
lib
btree
free.c
Generated on Mon May 31 2021 05:21:29 for GRASS GIS 7 Programmer's Manual by
1.8.13