GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72729
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
create.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <grass/btree.h>
Include dependency graph for create.c:

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 5 of file create.c.

References BTREE::cmp, BTREE::cur, BTREE::incr, malloc(), BTREE::N, BTREE::node, NULL, and BTREE::tlen.