31 #include <mix/Types.h>
32 #include <mix/units.h>
37 #define DB_IDENT_LEN 15
40 #define DB_DESC_FILE "ttdesc.4db"
43 #define DBDFILE_ENV "DBDFILE"
70 #define DBDEBUG "DBDEBUG"
73 #define EL_internal_FATAL 10
75 #define EL_internal_ERROR 11
77 #define EL_internal_WARNING 12
79 #define EL_internal_INFO 13
81 #define EL_internal_HINT 14
82 #define EL_internal_DEBUG 15
87 #define DBDLDEFAULT EL_ERROR
91 #define DBLOGFILE "DBLOGFILE"
95 #define DBOPERLOGFILE "DBOPERLOGFILE"
131 #define DBD_SIGNATURE_VER4 "@D4"
134 #define DBD_MAGIC_BYTES "\x87\x65\x43\x21"
135 #define DBD_MAGIC_HEX (0x87654321UL)
136 #define DBD_MAGIC_DEC (-2023406815L)
183 #define TT_4DMNDESC "4DMNDESC"
184 #define DT_4TTNAME "4TTNAME"
185 #define DT_4DNAME "4DNAME"
186 #define DT_4ATYPE "4ATYPE"
187 #define DT_4DIM "4DIM"
188 #define DT_4CATEG "4CATEG"
191 #define DMNDESC_4TTNAME DT_4TTNAME, CHAR_1, DB_IDENT_LEN+1, UC_NONE, 0
192 #define DMNDESC_4DNAME DT_4DNAME, CHAR_1, DB_IDENT_LEN+1, UC_NONE, 0
193 #define DMNDESC_4ATYPE DT_4ATYPE, INT_4, 1, UC_NONE, 0
194 #define DMNDESC_4DIM DT_4DIM, INT_4, 1, UC_NONE, 0
195 #define DMNDESC_4CATEG DT_4CATEG, INT_4, 1, UC_NONE, 0
209 #define TT_4LOCK "4LOCK"
211 #define DT_4TYPE "4TYPE"
212 #define DT_4MOMENT "4MOMENT"
213 #define DT_4APPNAME "4APPNAME"
214 #define DT_4OWNER "4OWNER"
215 #define DT_4WORKPLACE "4WORKPLACE"
216 #define DT_4HOST "4HOST"
217 #define DT_4PID "4PID"
220 #define DD_4ID DT_4ID, INT_4, 1, UC_NONE, 0
221 #define DD_4MOMENT DT_4MOMENT, CHAR_1, MOMENT_LEN+1, UC_NONE, 0
222 #define DD_4TYPE DT_4TYPE, CHAR_1, 3, UC_NONE, 0
223 #define DD_4APPNAME DT_4APPNAME, CHAR_1, WE_NAME_LEN+1, UC_NONE, 0
224 #define DD_4OWNER DT_4OWNER, CHAR_1, WE_NAME_LEN+1, UC_NONE, 0
225 #define DD_4WORKPLACE DT_4WORKPLACE, CHAR_1, WE_NAME_LEN+1, UC_NONE, 0
226 #define DD_4HOST DT_4HOST, CHAR_1, WE_NAME_LEN+1, UC_NONE, 0
227 #define DD_4PID DT_4PID, INT_4, 1, UC_NONE, 0
235 #define TT_4HISTORY "4HISTORY"
236 #define DT_4TIMESTAMP "4TIMESTAMP"
239 #define DT_4JOBNUM "4JOBNUM"
240 #define DT_4USER "4USER"
241 #define DT_4DATAREF "4DATAREF"
242 #define DT_4EVENT "4EVENT"
249 #define DD_4TIMESTAMP DT_4TIMESTAMP, INT_4, 1, UC_NONE, 0
250 #define DD_4EVENT DT_4EVENT, CHAR_1, 256, UC_NONE, 0
253 #define DD_4JOBNUM DT_4JOBNUM, INT_4, 1, UC_NONE, 0
254 #define DD_4USER DT_4USER, CHAR_1, WE_NAME_LEN+1, UC_NONE, 0
255 #define DD_4DATAREF DT_4DATAREF, DBTPTR,1, UC_NONE, 0
299 void dbPutMsg (
int elevel,
const char* msg);
303 void dbFormatMsg (
int elevel,
const char* format, ...);
307 void dbOperLog (
const char* format, ...);
#define DB_IDENT_LEN
Definition: dbdefs.h:37
Logic dbCheckEmpty(void *ptr, DbDomainDesc *dd)
void dbFormatMsg(int elevel, const char *format,...)
void dbOperLog(const char *format,...)
void dbPutMsg(int elevel, const char *msg)
void dbFillEmpty(void *ptr, DbDomainDesc *dd)