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

reverse prev rev.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/db.h

    r6677 r6678  
    1 /* $Id: db.h,v 1.15 2001-09-07 10:24:07 bird Exp $ */
     1/* $Id: db.h,v 1.16 2001-09-07 10:31:44 bird Exp $ */
    22/*
    33 * DB - contains all database routines
     
    2929#define FUNCTION_ODIN32_API             'A' /* for Odin32 APIs (ie. LoadLibrary) */
    3030#define FUNCTION_INTERNAL_ODIN32_API    'I' /* for Internal/Additional Odin32 APIs (ie. RegisterLxExe) */
    31 #define FUNCTION_OTHER                  'F' /* for all other functions (ie. OSLibInitWSeBFileIO) */
    32 #define FUNCTION_METHOD                 'M'
    33 #define FUNCTION_OPERATOR               'O'
    34 #define FUNCTION_CONSTRUCTOR            'C'
    35 #define FUNCTION_DESTRUCTOR             'D'
     31#define FUNCTION_OTHER                  'O' /* for all other functions (ie. OSLibInitWSeBFileIO) */
    3632
    3733/* type flags of dll */
     
    5349        /* function name and type */
    5450        char *      pszName;
    55         char *      pszClass;
    56         char        fchType;            /* function type. */
    5751        char *      pszReturnType;
    5852        long        cRefCodes;
     
    9589        unsigned long   cFns;
    9690        signed long     alRefCode[NBR_FUNCTIONS];
    97         signed long     alModRefCode[NBR_FUNCTIONS];
     91        signed long     alDllRefCode[NBR_FUNCTIONS];
    9892        signed long     alAliasFn[NBR_FUNCTIONS];     /* -1 is SQL-NULL, -2 is "do not mind", >= 0 ref to function. */
    9993        signed long     alFileRefCode[NBR_FUNCTIONS]; /* -1 is SQL-NULL, -2 is "do not mind", >= 0 ref to file. */
    100         char            achType[NBR_FUNCTIONS];
    10194    } FNFINDBUF, *PFNFINDBUF;
    10295
     
    113106                                       const char *pszDatabase);
    114107    BOOL             _System dbDisconnect();
    115     signed long      _System dbGetModule(const char *pszModName);
    116     signed long      _System dbCountFunctionInModule(signed long lModule,
    117                                                      BOOL fNotAliases);
    118     //signed long      _System dbCheckInsertDll(const char *pszDll, char fchType);
    119     signed long      _System dbCheckInsertModule(const char *pszModule, char fchType);
     108    signed long      _System dbGetDll(const char *pszDllName);
     109    signed long      _System dbCountFunctionInDll(signed long ulDll,
     110                                                  BOOL fNotAliases);
     111    signed long      _System dbCheckInsertDll(const char *pszDll, char fchType);
    120112    unsigned short   _System dbGet(const char *pszTable,
    121113                                   const char *pszGetColumn,
    122114                                   const char *pszMatch1,
    123115                                   const char *pszMatchValue1);
    124     BOOL             _System dbInsertUpdateFunction(signed long lModule,
     116    BOOL             _System dbInsertUpdateFunction(signed long lDll,
    125117                                                    const char *pszFunction,
    126118                                                    const char *pszIntFunction,
     
    128120                                                    BOOL fIgnoreOrdinal,
    129121                                                    char fchType);
    130     BOOL             _System dbInsertUpdateFile(signed long lModule,
     122    BOOL             _System dbInsertUpdateFile(signed long lDll,
    131123                                                const char *pszFilename,
    132124                                                const char *pszDescription,
     
    136128    BOOL             _System dbFindFunction(const char *pszFunctionName,
    137129                                            PFNFINDBUF pFnFindBuf,
    138                                             signed long lModule);
    139     signed long      _System dbFindFile(signed long lModule, const char *pszFilename);
     130                                            signed long lDll);
     131    signed long      _System dbFindFile(signed long lDll, const char *pszFilename);
    140132    signed long      _System dbFindAuthor(const char *pszAuthor, const char *pszEmail);
    141133    signed long      _System dbGetFunctionState(signed long lRefCode);
    142134    unsigned long    _System dbUpdateFunction(PFNDESC pFnDesc,
    143                                               signed long lModule,
     135                                              signed long lDll,
    144136                                              char *pszError);
    145137    BOOL             _System dbRemoveDesignNotes(signed long lFile);
    146     BOOL             _System dbAddDesignNote(signed long lModule,
     138    BOOL             _System dbAddDesignNote(signed long lDll,
    147139                                             signed long lFile,
    148140                                             const char *pszTitle,
     
    168160                                                    char *pszDate);
    169161    /* StateUpd stuff */
    170     BOOL             _System dbGetNotUpdatedFunction(signed long lModule,
     162    BOOL             _System dbGetNotUpdatedFunction(signed long lDll,
    171163                                                     DBCALLBACKFETCH dbFetchCallBack);
    172     signed long      _System dbGetNumberOfUpdatedFunction(signed long lModule);
     164    signed long      _System dbGetNumberOfUpdatedFunction(signed long lDll);
    173165
    174166    /* APIImport stuff */
    175     BOOL             _System dbClearUpdateFlagFile(signed long lModule);
    176     BOOL             _System dbClearUpdateFlagFunction(signed long lModule, BOOL fAll);
    177     BOOL             _System dbDeleteNotUpdatedFiles(signed long lModule);
    178     BOOL             _System dbDeleteNotUpdatedFunctions(signed long lModule, BOOL fAll);
     167    BOOL             _System dbClearUpdateFlagFile(signed long lDll);
     168    BOOL             _System dbClearUpdateFlagFunction(signed long lDll, BOOL fAll);
     169    BOOL             _System dbDeleteNotUpdatedFiles(signed long lDll);
     170    BOOL             _System dbDeleteNotUpdatedFunctions(signed long lDll, BOOL fAll);
    179171
    180172#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.