grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

btree.h
Go to the documentation of this file.
1#ifndef GRASS_BTREE_H
2#define GRASS_BTREE_H
3
4typedef struct
5{
6 void *key;
7 void *data;
8 int left;
9 int right;
11
12typedef 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
static int cmp(struct kdnode *a, struct kdnode *b, int p)
Definition: kdtree.c:44
int left
Definition: btree.h:8
int right
Definition: btree.h:9
void * key
Definition: btree.h:6
void * data
Definition: btree.h:7
Definition: btree.h:13
int N
Definition: btree.h:16
int cur
Definition: btree.h:18
int incr
Definition: btree.h:17
BTREE_NODE * node
Definition: btree.h:14
int tlen
Definition: btree.h:15