Definition at line 1949 of file dbfopen.c.
1953 int *panFieldOffsetNew;
1954 int *panFieldSizeNew;
1955 int *panFieldDecimalsNew;
1956 char *pachFieldTypeNew;
1977 for(i=0; i < psDBF->
nFields; i++)
1985 panFieldOffsetNew[0] = 1;
1986 for(i=1; i < psDBF->
nFields; i++)
1988 panFieldOffsetNew[i] = panFieldOffsetNew[i - 1] + panFieldSizeNew[i - 1];
2006 for (iRecord = 0; iRecord < psDBF->
nRecords; iRecord++)
2015 pszRecordNew[0] = pszRecord[0];
2017 for(i=0; i < psDBF->
nFields; i++)
2019 memcpy(pszRecordNew + panFieldOffsetNew[i],
#define STATIC_CAST(type, x)
static int DBFFlushRecord(DBFHandle psDBF)
void SHPAPI_CALL DBFUpdateHeader(DBFHandle psDBF)
int bCurrentRecordModified
SAOffset(* FWrite)(void *p, SAOffset size, SAOffset nmemb, SAFile file)
SAOffset(* FRead)(void *p, SAOffset size, SAOffset nmemb, SAFile file)
SAOffset(* FSeek)(SAFile file, SAOffset offset, int whence)
References DBFInfo::bCurrentRecordModified, DBFInfo::bNoHeader, DBFInfo::bUpdated, DBFFlushRecord(), DBFUpdateHeader(), FALSE, DBFInfo::fp, SAHooks::FRead, free(), SAHooks::FSeek, SAHooks::FWrite, malloc(), DBFInfo::nCurrentRecord, DBFInfo::nFields, DBFInfo::nHeaderLength, DBFInfo::nRecordLength, DBFInfo::nRecords, DBFInfo::pachFieldType, DBFInfo::panFieldDecimals, DBFInfo::panFieldOffset, DBFInfo::panFieldSize, DBFInfo::pszHeader, DBFInfo::sHooks, STATIC_CAST, TRUE, and XBASE_FLDHDR_SZ.