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