PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ DBFAddField()

int SHPAPI_CALL DBFAddField ( DBFHandle  hDBF,
const char *  pszFieldName,
DBFFieldType  eType,
int  nWidth,
int  nDecimals 
)

Definition at line 773 of file dbfopen.c.

References DBFAddNativeFieldType().

Referenced by ShpDumperOpenTable().

776 {
777  char chNativeType = 'C';
778 
779  if( eType == FTLogical )
780  chNativeType = 'L';
781  else if( eType == FTString )
782  chNativeType = 'C';
783  else if( eType == FTDate )
784  chNativeType = 'D';
785  else
786  chNativeType = 'N';
787 
788  return DBFAddNativeFieldType( psDBF, pszFieldName, chNativeType,
789  nWidth, nDecimals );
790 }
int SHPAPI_CALL DBFAddNativeFieldType(DBFHandle psDBF, const char *pszFieldName, char chType, int nWidth, int nDecimals)
Definition: dbfopen.c:820
Here is the call graph for this function:
Here is the caller graph for this function: