/*****************************************************************************\ |* file: tsdb.c |* module: TSDB global variables |* version: |* written by: oe, dfki saarbruecken |* last update: 13-aug-96 |* updated by: oe, dfki saarbruecken |*****************************************************************************| |* \*****************************************************************************/ #define TSDB_C #include #include "globals.h" #include "tsdb.h" #include "errors.h" Tsdb tsdb = { TSDB_INITIAL_STATUS, /* status */ (Tsdb_relation **)NULL, /* relations */ (Tsdb_selection **)NULL, /* data */ (char *)NULL, /* input */ (char *)NULL, /* home */ (char *)NULL, /* relations_file */ (char *)NULL, /* data_path */ (char *)NULL, /* result_path */ (char *)NULL, /* result_prefix */ -1, /* max_results */ TSDB_FS, /* fs */ (char *)NULL, /* ofs */ (char *)NULL, /* eof */ (char *)NULL, /* server */ 0, /* port */ (char *)NULL, /* pager */ (char *)NULL, /* query */ #ifdef DEBUG (char *)NULL, /* debug_file */ #endif (char *)NULL, /* output */ (char *)NULL, /* error output */ TSDB_OK, /* error */ #ifdef COMPRESSED_DATA (char *)NULL, /* compress */ (char *)NULL, /* uncompress */ (char *)NULL, /* suffix */ #endif -1, /* command */ (Tsdb_history **)NULL, /* history */ TSDB_HISTORY_SIZE, /* history_size */ }; /* tsdb */ FILE *tsdb_default_stream = (FILE *)NULL; FILE *tsdb_error_stream = (FILE *)NULL; #ifdef DEBUG FILE *tsdb_debug_stream = (FILE *)NULL; #endif char tsdb_version[] = TSDB_VERSION; char *tsdb_revision; char *tsdb_revision_date;