GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-b4187339ee
SAHooks Struct Reference

#include <shapefil.h>

Data Fields

SAFile(* FOpen )(const char *filename, const char *access, void *pvUserData)
 
SAOffset(* FRead )(void *p, SAOffset size, SAOffset nmemb, SAFile file)
 
SAOffset(* FWrite )(const void *p, SAOffset size, SAOffset nmemb, SAFile file)
 
SAOffset(* FSeek )(SAFile file, SAOffset offset, int whence)
 
SAOffset(* FTell )(SAFile file)
 
int(* FFlush )(SAFile file)
 
int(* FClose )(SAFile file)
 
int(* Remove )(const char *filename, void *pvUserData)
 
void(* Error )(const char *message)
 
double(* Atof )(const char *str)
 
void * pvUserData
 

Detailed Description

Definition at line 135 of file shapefil.h.

Field Documentation

◆ Atof

double(* SAHooks::Atof) (const char *str)

Definition at line 147 of file shapefil.h.

◆ Error

void(* SAHooks::Error) (const char *message)

Definition at line 146 of file shapefil.h.

Referenced by SHPWriteHeader(), and SHPWriteObject().

◆ FClose

int(* SAHooks::FClose) (SAFile file)

Definition at line 143 of file shapefil.h.

Referenced by SHPClose().

◆ FFlush

int(* SAHooks::FFlush) (SAFile file)

Definition at line 142 of file shapefil.h.

Referenced by SHPWriteHeader().

◆ FOpen

SAFile(* SAHooks::FOpen) (const char *filename, const char *access, void *pvUserData)

Definition at line 136 of file shapefil.h.

Referenced by SASetupDefaultHooks().

◆ FRead

SAOffset(* SAHooks::FRead) (void *p, SAOffset size, SAOffset nmemb, SAFile file)

Definition at line 137 of file shapefil.h.

◆ FSeek

SAOffset(* SAHooks::FSeek) (SAFile file, SAOffset offset, int whence)

Definition at line 140 of file shapefil.h.

Referenced by SHPWriteHeader().

◆ FTell

SAOffset(* SAHooks::FTell) (SAFile file)

Definition at line 141 of file shapefil.h.

◆ FWrite

SAOffset(* SAHooks::FWrite) (const void *p, SAOffset size, SAOffset nmemb, SAFile file)

Definition at line 138 of file shapefil.h.

Referenced by SHPWriteHeader().

◆ pvUserData

void* SAHooks::pvUserData

Definition at line 148 of file shapefil.h.

◆ Remove

int(* SAHooks::Remove) (const char *filename, void *pvUserData)

Definition at line 144 of file shapefil.h.


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