PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ SASetupDefaultHooks()

void SASetupDefaultHooks ( SAHooks psHooks)

Definition at line 195 of file safileio.c.

197 {
198  psHooks->FOpen = SADFOpen;
199  psHooks->FRead = SADFRead;
200  psHooks->FWrite = SADFWrite;
201  psHooks->FSeek = SADFSeek;
202  psHooks->FTell = SADFTell;
203  psHooks->FFlush = SADFFlush;
204  psHooks->FClose = SADFClose;
205  psHooks->Remove = SADRemove;
206 
207  psHooks->Error = SADError;
208  psHooks->Atof = atof;
209 }
int SADFClose(SAFile file)
Definition: safileio.c:165
SAOffset SADFTell(SAFile file)
Definition: safileio.c:141
SAOffset SADFWrite(void *p, SAOffset size, SAOffset nmemb, SAFile file)
Definition: safileio.c:115
int SADRemove(const char *filename)
Definition: safileio.c:175
SAOffset SADFRead(void *p, SAOffset size, SAOffset nmemb, SAFile file)
Definition: safileio.c:104
SAFile SADFOpen(const char *pszFilename, const char *pszAccess)
Definition: safileio.c:94
int SADFFlush(SAFile file)
Definition: safileio.c:155
SAOffset SADFSeek(SAFile file, SAOffset offset, int whence)
Definition: safileio.c:127
void SADError(const char *message)
Definition: safileio.c:185
void(* Error)(const char *message)
Definition: shapefil.h:264
SAFile(* FOpen)(const char *filename, const char *access)
Definition: shapefil.h:255
SAOffset(* FTell)(SAFile file)
Definition: shapefil.h:259
int(* FFlush)(SAFile file)
Definition: shapefil.h:260
SAOffset(* FWrite)(void *p, SAOffset size, SAOffset nmemb, SAFile file)
Definition: shapefil.h:257
double(* Atof)(const char *str)
Definition: shapefil.h:265
int(* Remove)(const char *filename)
Definition: shapefil.h:262
int(* FClose)(SAFile file)
Definition: shapefil.h:261
SAOffset(* FRead)(void *p, SAOffset size, SAOffset nmemb, SAFile file)
Definition: shapefil.h:256
SAOffset(* FSeek)(SAFile file, SAOffset offset, int whence)
Definition: shapefil.h:258

References SAHooks::Atof, SAHooks::Error, SAHooks::FClose, SAHooks::FFlush, SAHooks::FOpen, SAHooks::FRead, SAHooks::FSeek, SAHooks::FTell, SAHooks::FWrite, SAHooks::Remove, SADError(), SADFClose(), SADFFlush(), SADFOpen(), SADFRead(), SADFSeek(), SADFTell(), SADFWrite(), and SADRemove().

Referenced by DBFCreateEx(), DBFOpen(), SHPCreate(), and SHPOpen().

Here is the call graph for this function:
Here is the caller graph for this function: