GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
File definition. More...
#include <dig_structs.h>
Data Fields | |
FILE * | file |
File descriptor. More... | |
char * | start |
Pointer to beginning of the file in the memory. More... | |
char * | current |
Current position set by dig_seek() More... | |
char * | end |
End of file in the memory (pointer to first byte after) More... | |
off_t | size |
Size of the file loaded to memory. More... | |
off_t | alloc |
Allocated space. More... | |
int | loaded |
Is file loaded? More... | |
File definition.
Definition at line 96 of file dig_structs.h.
off_t gvfile::alloc |
char* gvfile::current |
Current position set by dig_seek()
Definition at line 109 of file dig_structs.h.
Referenced by dig_fread(), dig_fseek(), dig_ftell(), and dig_rewind().
char* gvfile::end |
End of file in the memory (pointer to first byte after)
Definition at line 113 of file dig_structs.h.
Referenced by dig_fread().
FILE* gvfile::file |
File descriptor.
Definition at line 101 of file dig_structs.h.
Referenced by dig_fflush(), dig_fread(), dig_fseek(), dig_ftell(), dig_fwrite(), dig_rewind(), V1_close_nat(), V1_open_new_nat(), V1_open_old_nat(), Vect_cidx_open(), Vect_open_fidx(), Vect_open_topo(), Vect_save_fidx(), Vect_save_sidx(), and Vect_save_topo().
int gvfile::loaded |
Is file loaded?
Definition at line 128 of file dig_structs.h.
Referenced by dig_fflush(), dig_file_free(), dig_fread(), dig_fseek(), dig_ftell(), dig_fwrite(), and dig_rewind().
off_t gvfile::size |
Size of the file loaded to memory.
Definition at line 117 of file dig_structs.h.
Referenced by dig_fseek().
char* gvfile::start |
Pointer to beginning of the file in the memory.
Definition at line 105 of file dig_structs.h.
Referenced by dig_file_free(), dig_fseek(), dig_ftell(), and dig_rewind().