/usr/lib/grass70/include/grass/btree.h is in grass-dev 7.0.3-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #ifndef GRASS_BTREE_H
#define GRASS_BTREE_H
typedef struct
{
void *key;
void *data;
int left;
int right;
} BTREE_NODE;
typedef struct
{
BTREE_NODE *node; /* tree of values */
int tlen; /* allocated tree size */
int N; /* number of actual nodes in tree */
int incr; /* number of nodes to add at a time */
int cur;
int (*cmp) (const void *, const void *); /* routine to compare keys */
} BTREE;
#include <grass/defs/btree.h>
#endif
|