PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ DBFAddField()

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

Definition at line 757 of file dbfopen.c.

758 {
759  char chNativeType = 'C';
760 
761  if (eType == FTLogical)
762  chNativeType = 'L';
763  else if (eType == FTString)
764  chNativeType = 'C';
765  else if (eType == FTDate)
766  chNativeType = 'D';
767  else
768  chNativeType = 'N';
769 
770  return DBFAddNativeFieldType(psDBF, pszFieldName, chNativeType, nWidth, nDecimals);
771 }
int SHPAPI_CALL DBFAddNativeFieldType(DBFHandle psDBF, const char *pszFieldName, char chType, int nWidth, int nDecimals)
Definition: dbfopen.c:802

References DBFAddNativeFieldType().

Referenced by ShpDumperOpenTable().

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