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