GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-cf81aadc39
defs/btree.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int btree_create (BTREE *, int(*)(const void *, const void *), int)
 
int btree_find (const BTREE *, const void *, void **)
 
int btree_free (BTREE *)
 
int btree_next (BTREE *, void **, void **)
 
int btree_rewind (BTREE *)
 
int btree_update (BTREE *, const void *, int, const void *, int)
 

Function Documentation

◆ btree_create()

int btree_create ( BTREE B,
int(*)(const void *, const void *)  cmp,
int  incr 
)

Definition at line 5 of file create.c.

◆ btree_find()

int btree_find ( const BTREE B,
const void *  key,
void **  data 
)

Definition at line 4 of file btree/find.c.

◆ btree_free()

int btree_free ( BTREE B)

Definition at line 5 of file free.c.

◆ btree_next()

int btree_next ( BTREE B,
void **  key,
void **  data 
)

Definition at line 3 of file btree/next.c.

◆ btree_rewind()

int btree_rewind ( BTREE B)

Definition at line 3 of file btree/rewind.c.

References BTREE::cur.

◆ btree_update()

int btree_update ( BTREE B,
const void *  key,
int  keylen,
const void *  data,
int  datalen 
)

Definition at line 8 of file btree/update.c.