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

Definition at line 770 of file dbfopen.c.

References DBFAddNativeFieldType().

Referenced by ShpDumperOpenTable().

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

Here is the call graph for this function:

Here is the caller graph for this function: