Changeset 2765 for trunk/tools/database/StateUpd.cpp
- Timestamp:
- Feb 12, 2000, 6:55:04 PM (26 years ago)
- Location:
- trunk/tools/database
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/database
-
Property svn:ignore
set to
*.html
*.gif
html/*
-
Property svn:ignore
set to
-
trunk/tools/database/StateUpd.cpp
r2761 r2765 1 /* $Id: StateUpd.cpp,v 1. 9 2000-02-11 23:54:24bird Exp $1 /* $Id: StateUpd.cpp,v 1.10 2000-02-12 17:55:02 bird Exp $ 2 2 * 3 3 * StateUpd - Scans source files for API functions and imports data on them. … … 285 285 286 286 /* write status to log */ 287 ul2 = dbGetNumberOfUpdatedFunction(options.lDllRefcode); 288 ul1 = dbCountFunctionInDll(options.lDllRefcode); 287 289 fprintf(phLog, "-------------------------------------------------\n"); 288 290 fprintf(phLog, "-------- Functions which was not updated --------\n"); … … 290 292 fprintf(phLog, "-------------------------------------------------\n"); 291 293 fprintf(phLog, "-------------------------------------------------\n\n"); 292 ul1 = dbCountFunctionInDll(options.lDllRefcode);293 294 fprintf(phLog,"Number of function in this DLL: %4ld\n", ul1); 294 fprintf(phLog,"Number of successfully processed APIs: %4ld \n", (long)(0x0000FFFF & ulRc));295 fprintf(phLog,"Number of successfully processed APIs: %4ld (%ld)\n", (long)(0x0000FFFF & ulRc), ul2); 295 296 fprintf(phLog,"Number of signals: %4ld\n", (long)(ulRc >> 16)); 296 297 … … 303 304 /* warn if error during processing. */ 304 305 fprintf(stdout,"Number of function in this DLL: %4ld\n", ul1); 305 fprintf(stdout,"Number of successfully processed APIs: %4ld \n", (long)(0x0000FFFF & ulRc));306 fprintf(stdout,"Number of successfully processed APIs: %4ld (%ld)\n", (long)(0x0000FFFF & ulRc), ul2); 306 307 fprintf(stdout,"Number of signals: %4ld\n", (long)(ulRc >> 16)); 307 308 if ((int)(ulRc >> 16) > 0) … … 1372 1373 static long _System dbNotUpdatedCallBack(const char *pszValue, const char *pszFieldName, void *pvUser) 1373 1374 { 1374 if (stricmp(pszFieldName, "name") == 0) 1375 fprintf(phLog, "%s ", pszValue); 1376 else if (stricmp(pszFieldName, "updated") == 0) 1377 fprintf(phLog, "update=%s ", pszValue); 1378 else if (stricmp(pszFieldName, "intname") == 0) 1379 fprintf(phLog, "(%s)\n", pszValue); 1375 static i = 0; 1376 switch (i++) 1377 { 1378 case 0: 1379 fprintf(phLog, "%s", pszValue); 1380 break; 1381 case 1: 1382 fprintf(phLog, "(%s)", pszValue); 1383 break; 1384 case 2: /* updated */ 1385 fprintf(phLog, " %s=%s", pszFieldName, pszValue); 1386 break; 1387 case 3: /* aliasfn */ 1388 fprintf(phLog, " %s=%s", pszFieldName, pszValue); 1389 break; 1390 case 4: 1391 if (pszValue != NULL) 1392 fprintf(phLog, " --> %s.", pszValue); 1393 break; 1394 case 5: 1395 if (pszValue != NULL) 1396 fprintf(phLog, "%s", pszValue); 1397 break; 1398 case 6: 1399 if (pszValue != NULL) 1400 fprintf(phLog, "(%s)", pszValue); 1401 break; 1402 1403 default: 1404 i = 0; 1405 fprintf(phLog, "\n"); 1406 } 1407 1408 if (stricmp(pszFieldName, "last") == 0) 1409 { 1410 i = 0; 1411 fprintf(phLog, "\n"); 1412 } 1380 1413 1381 1414 pvUser = pvUser;
Note:
See TracChangeset
for help on using the changeset viewer.