Ignore:
Timestamp:
Sep 7, 2001, 12:26:42 PM (24 years ago)
Author:
bird
Message:

dll to module conversion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/APIImport.cpp

    r6065 r6677  
    1 /* $Id: APIImport.cpp,v 1.10 2001-06-22 17:07:18 bird Exp $ */
     1/* $Id: APIImport.cpp,v 1.11 2001-09-07 10:24:05 bird Exp $ */
    22/*
    33 *
     
    9292                    break;
    9393
     94                case '-':
    9495                case 'h':
    9596                case 'H':
     
    257258            char    achDataBuffer[0x200];
    258259            char   *pszModuleName = &achDataBuffer[0];
    259             signed long  lDll;
     260            signed long  lModule;
    260261
    261262            /* try create file objects */
     
    286287
    287288                /* find or insert module name */
    288                 if ((lDll = dbCheckInsertDll(pszModuleName, DLL_ODIN32_API)) >= 0)
     289                if ((lModule = dbCheckInsertModule(pszModuleName, DLL_ODIN32_API)) >= 0)
    289290                {
    290291                    BOOL    fClearUpdateOk = FALSE;
     
    294295                    /* Clear the update flag for all functions in this DLL. */
    295296                    if (pOptions->fErase)
    296                         fClearUpdateOk = dbClearUpdateFlagFunction(lDll, FALSE);
     297                        fClearUpdateOk = dbClearUpdateFlagFunction(lModule, FALSE);
    297298
    298299                    lRc = 0;
     
    334335                            else
    335336                            {   /* Update Database */
    336                                 fOk = dbInsertUpdateFunction(lDll,
     337                                fOk = dbInsertUpdateFunction(lModule,
    337338                                                             &szName[0],
    338339                                                             &szIntName[0],
     
    358359                    /* Clear the update flag for all functions in this DLL. */
    359360                    if (fClearUpdateOk && pOptions->fErase)
    360                         if (!dbDeleteNotUpdatedFunctions(lDll, FALSE))
     361                        if (!dbDeleteNotUpdatedFunctions(lModule, FALSE))
    361362                        {
    362363                            fprintf(phLog, "%s: error - dbDeleteNotUpdatedFunctions failed.\n\terror description: %s\n",
Note: See TracChangeset for help on using the changeset viewer.