GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
rewind_nat.c File Reference
#include <grass/vector.h>
Include dependency graph for rewind_nat.c:

Go to the source code of this file.

Functions

int V1_rewind_nat (struct Map_info *Map)
 Rewind vector map to cause reads to start at beginning on non-topological level (level 1) - native format - internal use only. More...
 
int V2_rewind_nat (struct Map_info *Map)
 Rewind vector map to cause reads to start at beginning on topological level (level 2) - native format - internal use only. More...
 

Function Documentation

◆ V1_rewind_nat()

int V1_rewind_nat ( struct Map_info Map)

Rewind vector map to cause reads to start at beginning on non-topological level (level 1) - native format - internal use only.

Parameters
Mappointer to Map_info struct
Returns
0 on success
-1 on error

Definition at line 27 of file rewind_nat.c.

References Map_info::dig_fp, dig_fseek(), Map_info::head, and dig_head::head_size.

Referenced by V2_rewind_nat().

◆ V2_rewind_nat()

int V2_rewind_nat ( struct Map_info Map)

Rewind vector map to cause reads to start at beginning on topological level (level 2) - native format - internal use only.

Parameters
Mappointer to Map_info struct
Returns
0 on success
-1 on error

Definition at line 40 of file rewind_nat.c.

References Map_info::next_line, and V1_rewind_nat().