PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ SHPOpenLLEx()

SHPHandle SHPAPI_CALL SHPOpenLLEx ( const char *  pszLayer,
const char *  pszAccess,
SAHooks psHooks,
int  bRestoreSHX 
)

Definition at line 679 of file shpopen.c.

682 {
683  if ( !bRestoreSHX ) return SHPOpenLL ( pszLayer, pszAccess, psHooks );
684  else
685  {
686  if ( SHPRestoreSHX ( pszLayer, pszAccess, psHooks ) )
687  {
688  return SHPOpenLL ( pszLayer, pszAccess, psHooks );
689  }
690  }
691 
692  return SHPLIB_NULLPTR;
693 }
SHPHandle SHPAPI_CALL SHPOpenLL(const char *pszLayer, const char *pszAccess, SAHooks *psHooks)
Definition: shpopen.c:329
int SHPAPI_CALL SHPRestoreSHX(const char *pszLayer, const char *pszAccess, SAHooks *psHooks)
Definition: shpopen.c:703
#define SHPLIB_NULLPTR
Definition: shpopen.c:101

References SHPLIB_NULLPTR, SHPOpenLL(), and SHPRestoreSHX().

Here is the call graph for this function: