21 #include <grass/Vect.h>
22 #include <grass/glocale.h>
26 static int rew_dummy()
35 G_fatal_error(_(
"Requested format is not compiled in this version"));
41 static int (*Rewind_array[][3]) () = {
49 rew_dummy, format, format}
67 G_debug(1,
"Vect_Rewind(): name = %s", Map->name);
69 return (*Rewind_array[Map->format][Map->level]) (
Map);
int V1_rewind_nat(struct Map_info *Map)
int V2_rewind_ogr(struct Map_info *Map)
int V1_rewind_ogr(struct Map_info *Map)
int V2_rewind_nat(struct Map_info *Map)
int G_debug(int level, const char *msg,...)
Print debugging message.
int G_fatal_error(const char *msg,...)
Print a fatal error message to stderr.
int Vect_rewind(struct Map_info *Map)
Rewind vector data file to cause reads to start at beginning.