GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71790
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
diglib/cindex.c File Reference
#include <stdlib.h>
#include <string.h>
#include <grass/vector.h>
Include dependency graph for diglib/cindex.c:

Go to the source code of this file.

Functions

int dig_cidx_init (struct Plus_head *Plus)
 Initialize Plus_head structure (cidx) More...
 
void dig_cidx_free (struct Plus_head *Plus)
 
int dig_cidx_add_cat (struct Plus_head *Plus, int field, int cat, int line, int type)
 
int dig_cidx_add_cat_sorted (struct Plus_head *Plus, int field, int cat, int line, int type)
 
int dig_cidx_del_cat (struct Plus_head *Plus, int field, int cat, int line, int type)
 
void dig_cidx_sort (struct Plus_head *Plus)
 

Function Documentation

int dig_cidx_add_cat ( struct Plus_head Plus,
int  field,
int  cat,
int  line,
int  type 
)
int dig_cidx_add_cat_sorted ( struct Plus_head Plus,
int  field,
int  cat,
int  line,
int  type 
)
int dig_cidx_del_cat ( struct Plus_head Plus,
int  field,
int  cat,
int  line,
int  type 
)
int dig_cidx_init ( struct Plus_head Plus)

Initialize Plus_head structure (cidx)

Parameters
Pluspointer to Plus_head structure
Returns
1 OK
0 on error

Definition at line 29 of file diglib/cindex.c.

References Plus_head::a_cidx, Plus_head::cidx, Plus_head::cidx_up_to_date, G_debug(), and Plus_head::n_cidx.

Referenced by dig_init_plus(), dig_read_cidx(), and Vect_build_partial().

void dig_cidx_sort ( struct Plus_head Plus)