Ignore:
Timestamp:
Feb 24, 2002, 3:58:29 AM (24 years ago)
Author:
bird
Message:

New kFile* classes; now in sync with os2tools.

File:
1 edited

Legend:

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

    r6678 r8006  
    1 /* $Id: db.h,v 1.16 2001-09-07 10:31:44 bird Exp $ */
     1/* $Id: db.h,v 1.17 2002-02-24 02:58:29 bird Exp $ */
    22/*
    33 * DB - contains all database routines
     
    101101    char *           _System dbGetLastErrorDesc(void);
    102102
    103     BOOL             _System dbConnect(const char *pszHost,
     103    KBOOL            _System dbConnect(const char *pszHost,
    104104                                       const char *pszUser,
    105105                                       const char *pszPassword,
    106106                                       const char *pszDatabase);
    107     BOOL             _System dbDisconnect();
     107    KBOOL            _System dbDisconnect();
    108108    signed long      _System dbGetDll(const char *pszDllName);
    109109    signed long      _System dbCountFunctionInDll(signed long ulDll,
    110                                                   BOOL fNotAliases);
     110                                                  KBOOL fNotAliases);
    111111    signed long      _System dbCheckInsertDll(const char *pszDll, char fchType);
    112112    unsigned short   _System dbGet(const char *pszTable,
     
    114114                                   const char *pszMatch1,
    115115                                   const char *pszMatchValue1);
    116     BOOL             _System dbInsertUpdateFunction(signed long lDll,
     116    KBOOL            _System dbInsertUpdateFunction(signed long lDll,
    117117                                                    const char *pszFunction,
    118118                                                    const char *pszIntFunction,
    119119                                                    unsigned long ulOrdinal,
    120                                                     BOOL fIgnoreOrdinal,
     120                                                    KBOOL fIgnoreOrdinal,
    121121                                                    char fchType);
    122     BOOL             _System dbInsertUpdateFile(signed long lDll,
     122    KBOOL            _System dbInsertUpdateFile(signed long lDll,
    123123                                                const char *pszFilename,
    124124                                                const char *pszDescription,
     
    126126                                                signed long lLastAuthor,
    127127                                                const char *pszRevision);
    128     BOOL             _System dbFindFunction(const char *pszFunctionName,
     128    KBOOL            _System dbFindFunction(const char *pszFunctionName,
    129129                                            PFNFINDBUF pFnFindBuf,
    130130                                            signed long lDll);
     
    135135                                              signed long lDll,
    136136                                              char *pszError);
    137     BOOL             _System dbRemoveDesignNotes(signed long lFile);
    138     BOOL             _System dbAddDesignNote(signed long lDll,
     137    KBOOL            _System dbRemoveDesignNotes(signed long lFile);
     138    KBOOL            _System dbAddDesignNote(signed long lDll,
    139139                                             signed long lFile,
    140140                                             const char *pszTitle,
     
    144144                                             signed long lSeqNbrNote,
    145145                                             signed long lLine,
    146                                              BOOL        fSubSection,
     146                                             KBOOL       fSubSection,
    147147                                             signed long *plRefCode);
    148148    unsigned long    _System dbCreateHistory(char *pszError);
     
    152152    void *           _System dbExecuteQuery(const char *pszQuery);
    153153    signed long      _System dbQueryResultRows(void *pres);
    154     BOOL             _System dbFreeResult(void *pres);
    155     BOOL             _System dbFetch(void *pres,
     154    KBOOL            _System dbFreeResult(void *pres);
     155    KBOOL            _System dbFetch(void *pres,
    156156                                     DBCALLBACKFETCH dbFetchCallBack,
    157157                                     void *pvUser);
    158158    signed long      _System dbDateToDaysAfterChrist(const char *pszDate);
    159     BOOL             _System dbDaysAfterChristToDate(signed long ulDays,
     159    KBOOL            _System dbDaysAfterChristToDate(signed long ulDays,
    160160                                                    char *pszDate);
    161161    /* StateUpd stuff */
    162     BOOL             _System dbGetNotUpdatedFunction(signed long lDll,
     162    KBOOL            _System dbGetNotUpdatedFunction(signed long lDll,
    163163                                                     DBCALLBACKFETCH dbFetchCallBack);
    164164    signed long      _System dbGetNumberOfUpdatedFunction(signed long lDll);
    165165
    166166    /* APIImport stuff */
    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);
     167    KBOOL            _System dbClearUpdateFlagFile(signed long lDll);
     168    KBOOL            _System dbClearUpdateFlagFunction(signed long lDll, KBOOL fAll);
     169    KBOOL            _System dbDeleteNotUpdatedFiles(signed long lDll);
     170    KBOOL            _System dbDeleteNotUpdatedFunctions(signed long lDll, KBOOL fAll);
    171171
    172172#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.