Changeset 6677 for trunk/tools/database/APIImport.cpp
- Timestamp:
- Sep 7, 2001, 12:26:42 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/database/APIImport.cpp
r6065 r6677 1 /* $Id: APIImport.cpp,v 1.1 0 2001-06-22 17:07:18bird Exp $ */1 /* $Id: APIImport.cpp,v 1.11 2001-09-07 10:24:05 bird Exp $ */ 2 2 /* 3 3 * … … 92 92 break; 93 93 94 case '-': 94 95 case 'h': 95 96 case 'H': … … 257 258 char achDataBuffer[0x200]; 258 259 char *pszModuleName = &achDataBuffer[0]; 259 signed long l Dll;260 signed long lModule; 260 261 261 262 /* try create file objects */ … … 286 287 287 288 /* find or insert module name */ 288 if ((l Dll = dbCheckInsertDll(pszModuleName, DLL_ODIN32_API)) >= 0)289 if ((lModule = dbCheckInsertModule(pszModuleName, DLL_ODIN32_API)) >= 0) 289 290 { 290 291 BOOL fClearUpdateOk = FALSE; … … 294 295 /* Clear the update flag for all functions in this DLL. */ 295 296 if (pOptions->fErase) 296 fClearUpdateOk = dbClearUpdateFlagFunction(l Dll, FALSE);297 fClearUpdateOk = dbClearUpdateFlagFunction(lModule, FALSE); 297 298 298 299 lRc = 0; … … 334 335 else 335 336 { /* Update Database */ 336 fOk = dbInsertUpdateFunction(l Dll,337 fOk = dbInsertUpdateFunction(lModule, 337 338 &szName[0], 338 339 &szIntName[0], … … 358 359 /* Clear the update flag for all functions in this DLL. */ 359 360 if (fClearUpdateOk && pOptions->fErase) 360 if (!dbDeleteNotUpdatedFunctions(l Dll, FALSE))361 if (!dbDeleteNotUpdatedFunctions(lModule, FALSE)) 361 362 { 362 363 fprintf(phLog, "%s: error - dbDeleteNotUpdatedFunctions failed.\n\terror description: %s\n",
Note:
See TracChangeset
for help on using the changeset viewer.