Changeset 6678 for trunk/tools/database/db.h
- Timestamp:
 - Sep 7, 2001, 12:33:10 PM (24 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/tools/database/db.h (modified) (8 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/tools/database/db.h
r6677 r6678 1 /* $Id: db.h,v 1.1 5 2001-09-07 10:24:07bird Exp $ */1 /* $Id: db.h,v 1.16 2001-09-07 10:31:44 bird Exp $ */ 2 2 /* 3 3 * DB - contains all database routines … … 29 29 #define FUNCTION_ODIN32_API 'A' /* for Odin32 APIs (ie. LoadLibrary) */ 30 30 #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) */ 36 32 37 33 /* type flags of dll */ … … 53 49 /* function name and type */ 54 50 char * pszName; 55 char * pszClass;56 char fchType; /* function type. */57 51 char * pszReturnType; 58 52 long cRefCodes; … … 95 89 unsigned long cFns; 96 90 signed long alRefCode[NBR_FUNCTIONS]; 97 signed long al ModRefCode[NBR_FUNCTIONS];91 signed long alDllRefCode[NBR_FUNCTIONS]; 98 92 signed long alAliasFn[NBR_FUNCTIONS]; /* -1 is SQL-NULL, -2 is "do not mind", >= 0 ref to function. */ 99 93 signed long alFileRefCode[NBR_FUNCTIONS]; /* -1 is SQL-NULL, -2 is "do not mind", >= 0 ref to file. */ 100 char achType[NBR_FUNCTIONS];101 94 } FNFINDBUF, *PFNFINDBUF; 102 95 … … 113 106 const char *pszDatabase); 114 107 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); 120 112 unsigned short _System dbGet(const char *pszTable, 121 113 const char *pszGetColumn, 122 114 const char *pszMatch1, 123 115 const char *pszMatchValue1); 124 BOOL _System dbInsertUpdateFunction(signed long l Module,116 BOOL _System dbInsertUpdateFunction(signed long lDll, 125 117 const char *pszFunction, 126 118 const char *pszIntFunction, … … 128 120 BOOL fIgnoreOrdinal, 129 121 char fchType); 130 BOOL _System dbInsertUpdateFile(signed long l Module,122 BOOL _System dbInsertUpdateFile(signed long lDll, 131 123 const char *pszFilename, 132 124 const char *pszDescription, … … 136 128 BOOL _System dbFindFunction(const char *pszFunctionName, 137 129 PFNFINDBUF pFnFindBuf, 138 signed long l Module);139 signed long _System dbFindFile(signed long l Module, const char *pszFilename);130 signed long lDll); 131 signed long _System dbFindFile(signed long lDll, const char *pszFilename); 140 132 signed long _System dbFindAuthor(const char *pszAuthor, const char *pszEmail); 141 133 signed long _System dbGetFunctionState(signed long lRefCode); 142 134 unsigned long _System dbUpdateFunction(PFNDESC pFnDesc, 143 signed long l Module,135 signed long lDll, 144 136 char *pszError); 145 137 BOOL _System dbRemoveDesignNotes(signed long lFile); 146 BOOL _System dbAddDesignNote(signed long l Module,138 BOOL _System dbAddDesignNote(signed long lDll, 147 139 signed long lFile, 148 140 const char *pszTitle, … … 168 160 char *pszDate); 169 161 /* StateUpd stuff */ 170 BOOL _System dbGetNotUpdatedFunction(signed long l Module,162 BOOL _System dbGetNotUpdatedFunction(signed long lDll, 171 163 DBCALLBACKFETCH dbFetchCallBack); 172 signed long _System dbGetNumberOfUpdatedFunction(signed long l Module);164 signed long _System dbGetNumberOfUpdatedFunction(signed long lDll); 173 165 174 166 /* APIImport stuff */ 175 BOOL _System dbClearUpdateFlagFile(signed long l Module);176 BOOL _System dbClearUpdateFlagFunction(signed long l Module, BOOL fAll);177 BOOL _System dbDeleteNotUpdatedFiles(signed long l Module);178 BOOL _System dbDeleteNotUpdatedFunctions(signed long l Module, 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); 179 171 180 172 #ifdef __cplusplus  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  