PostGIS  2.2.7dev-r@@SVN_REVISION@@
int SHPAPI_CALL DBFAddField ( DBFHandle  psDBF,
const char *  pszFieldName,
DBFFieldType  eType,
int  nWidth,
int  nDecimals 
)

Definition at line 769 of file dbfopen.c.

References DBFAddNativeFieldType().

Referenced by ShpDumperOpenTable().

772 {
773  char chNativeType = 'C';
774 
775  if( eType == FTLogical )
776  chNativeType = 'L';
777  else if( eType == FTString )
778  chNativeType = 'C';
779  else if( eType == FTDate )
780  chNativeType = 'D';
781  else
782  chNativeType = 'N';
783 
784  return DBFAddNativeFieldType( psDBF, pszFieldName, chNativeType,
785  nWidth, nDecimals );
786 }
int SHPAPI_CALL DBFAddNativeFieldType(DBFHandle psDBF, const char *pszFieldName, char chType, int nWidth, int nDecimals)
Definition: dbfopen.c:816

Here is the call graph for this function:

Here is the caller graph for this function: