GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-565e82de51
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
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
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
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
btree.h
Go to the documentation of this file.
1
#ifndef GRASS_BTREE_H
2
#define GRASS_BTREE_H
3
4
typedef
struct
{
5
void
*
key
;
6
void
*
data
;
7
int
left
;
8
int
right
;
9
}
BTREE_NODE
;
10
11
typedef
struct
{
12
BTREE_NODE
*
node
;
/* tree of values */
13
int
tlen
;
/* allocated tree size */
14
int
N
;
/* number of actual nodes in tree */
15
int
incr
;
/* number of nodes to add at a time */
16
int
cur
;
17
int (*cmp)(
const
void
*,
const
void
*);
/* routine to compare keys */
18
}
BTREE
;
19
20
#include <
grass/defs/btree.h
>
21
22
#endif
btree.h
BTREE_NODE
Definition:
btree.h:4
BTREE_NODE::left
int left
Definition:
btree.h:7
BTREE_NODE::right
int right
Definition:
btree.h:8
BTREE_NODE::key
void * key
Definition:
btree.h:5
BTREE_NODE::data
void * data
Definition:
btree.h:6
BTREE
Definition:
btree.h:11
BTREE::N
int N
Definition:
btree.h:14
BTREE::cur
int cur
Definition:
btree.h:16
BTREE::incr
int incr
Definition:
btree.h:15
BTREE::node
BTREE_NODE * node
Definition:
btree.h:12
BTREE::tlen
int tlen
Definition:
btree.h:13
include
grass
btree.h
Generated on Thu Mar 20 2025 07:33:22 for GRASS GIS 8 Programmer's Manual by
1.9.1