Definition at line 195 of file dbfopen.c.
197{
199
201 {
203
204 nRecordOffset =
207
208
209
210
211
214 if ( psDBF->
sHooks.
FSeek( psDBF->
fp, nRecordOffset, 0 ) != 0 ) {
215 char szMessage[128];
216 snprintf( szMessage, sizeof(szMessage),
217 "Failure seeking to position before writing DBF record %d.",
221 }
222 }
223
226 1, psDBF->
fp ) != 1 )
227 {
228 char szMessage[128];
229 snprintf( szMessage, sizeof(szMessage), "Failure writing DBF record %d.",
233 }
234
235
236
237
239
241 {
243 {
246 }
247 }
248 }
249
251}
#define STATIC_CAST(type, x)
#define END_OF_FILE_CHARACTER
int bCurrentRecordModified
int bRequireNextWriteSeek
void(* Error)(const char *message)
SAOffset(* FTell)(SAFile file)
SAOffset(* FWrite)(void *p, SAOffset size, SAOffset nmemb, SAFile file)
SAOffset(* FSeek)(SAFile file, SAOffset offset, int whence)
References DBFInfo::bCurrentRecordModified, DBFInfo::bRequireNextWriteSeek, DBFInfo::bWriteEndOfFileChar, END_OF_FILE_CHARACTER, SAHooks::Error, FALSE, DBFInfo::fp, SAHooks::FSeek, SAHooks::FTell, SAHooks::FWrite, DBFInfo::nCurrentRecord, DBFInfo::nHeaderLength, DBFInfo::nRecordLength, DBFInfo::nRecords, DBFInfo::pszCurrentRecord, DBFInfo::sHooks, STATIC_CAST, and TRUE.
Referenced by DBFAddNativeFieldType(), DBFAlterFieldDefn(), DBFClose(), DBFLoadRecord(), DBFReorderFields(), DBFUpdateHeader(), DBFWriteAttribute(), DBFWriteAttributeDirectly(), and DBFWriteTuple().