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
btree.h
Go to the documentation of this file.
1
#ifndef GRASS_BTREE_H
2
#define GRASS_BTREE_H
3
4
typedef
struct
5
{
6
void
*
key
;
7
void
*
data
;
8
int
left
;
9
int
right
;
10
}
BTREE_NODE
;
11
12
typedef
struct
13
{
14
BTREE_NODE
*
node
;
/* tree of values */
15
int
tlen
;
/* allocated tree size */
16
int
N
;
/* number of actual nodes in tree */
17
int
incr
;
/* number of nodes to add at a time */
18
int
cur
;
19
int (*cmp) (
const
void
*,
const
void
*);
/* routine to compare keys */
20
}
BTREE
;
21
22
#include <
grass/defs/btree.h
>
23
24
#endif
BTREE::cur
int cur
Definition:
btree.h:18
BTREE_NODE
Definition:
btree.h:4
BTREE::N
int N
Definition:
btree.h:16
BTREE::incr
int incr
Definition:
btree.h:17
BTREE_NODE::left
int left
Definition:
btree.h:8
BTREE
Definition:
btree.h:12
btree.h
BTREE_NODE::key
void * key
Definition:
btree.h:6
BTREE_NODE::data
void * data
Definition:
btree.h:7
BTREE::node
BTREE_NODE * node
Definition:
btree.h:14
BTREE::tlen
int tlen
Definition:
btree.h:15
BTREE_NODE::right
int right
Definition:
btree.h:9
include
grass
btree.h
Generated on Mon May 31 2021 05:21:28 for GRASS GIS 7 Programmer's Manual by
1.8.13