GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
gvfile Struct Reference

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...
 

Detailed Description

File definition.

Definition at line 94 of file dig_structs.h.

Field Documentation

◆ alloc

off_t gvfile::alloc

Allocated space.

Definition at line 118 of file dig_structs.h.

◆ current

char* gvfile::current

Current position set by dig_seek()

Definition at line 106 of file dig_structs.h.

◆ end

char* gvfile::end

End of file in the memory (pointer to first byte after)

Definition at line 110 of file dig_structs.h.

◆ file

◆ loaded

int gvfile::loaded

Is file loaded?

  • 0 - not loaded
  • 1 - loaded

Definition at line 125 of file dig_structs.h.

◆ size

off_t gvfile::size

Size of the file loaded to memory.

Definition at line 114 of file dig_structs.h.

◆ start

char* gvfile::start

Pointer to beginning of the file in the memory.

Definition at line 102 of file dig_structs.h.


The documentation for this struct was generated from the following file: