PostGIS  2.5.7dev-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.

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

References DBFAddNativeFieldType().

Referenced by ShpDumperOpenTable().

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