cindex_rw.c File Reference

#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/Vect.h>

Include dependency graph for cindex_rw.c:

Go to the source code of this file.

Functions

int dig_write_cidx_head (GVFILE *fp, struct Plus_head *plus)
int dig_read_cidx_head (GVFILE *fp, struct Plus_head *plus)
int dig_write_cidx (GVFILE *fp, struct Plus_head *plus)
int dig_read_cidx (GVFILE *fp, struct Plus_head *plus, int head_only)


Function Documentation

int dig_read_cidx ( GVFILE *  fp,
struct Plus_head *  plus,
int  head_only 
)

Definition at line 228 of file cindex_rw.c.

References dig__fread_port_I(), dig_cidx_init(), dig_fseek(), dig_read_cidx_head(), dig_rewind(), dig_set_cur_port(), and dig_type_from_store().

Referenced by Vect_cidx_open().

int dig_read_cidx_head ( GVFILE *  fp,
struct Plus_head *  plus 
)

Definition at line 94 of file cindex_rw.c.

References dig__fread_port_C(), dig__fread_port_I(), dig__fread_port_L(), dig_fseek(), dig_init_portable(), dig_rewind(), dig_set_cur_port(), and dig_type_from_store().

Referenced by dig_read_cidx().

int dig_write_cidx ( GVFILE *  fp,
struct Plus_head *  plus 
)

Definition at line 190 of file cindex_rw.c.

References dig__fwrite_port_I(), dig_ftell(), dig_rewind(), dig_set_cur_port(), dig_type_from_store(), dig_type_to_store(), and dig_write_cidx_head().

Referenced by Vect_cidx_save().

int dig_write_cidx_head ( GVFILE *  fp,
struct Plus_head *  plus 
)

Definition at line 22 of file cindex_rw.c.

References dig__fwrite_port_C(), dig__fwrite_port_I(), dig__fwrite_port_L(), dig_ftell(), dig_rewind(), dig_set_cur_port(), and dig_type_to_store().

Referenced by dig_write_cidx().


Generated on Wed Dec 19 14:59:43 2007 for GRASS by  doxygen 1.5.4