00001 /********************************************************** 00002 *********************************************************** 00003 * European Southern Observatory 00004 * VLTI MIDI Data Reduction Software 00005 * 00006 * Module name: midiGlobal.h 00007 * Description: 00008 * 00009 * 00010 * History: 00011 * 22-Mar-05 (csabet) Created 00012 *********************************************************** 00013 **********************************************************/ 00014 #ifndef _MIDI_GLOBAL_H 00015 #define _MIDI_GLOBAL_H 00016 00017 /********************************************************** 00018 * Include files 00019 **********************************************************/ 00020 #include "midiConst.h" 00021 00022 /********************************************************** 00023 * Constant definitions 00024 **********************************************************/ 00025 00026 /********************************************************** 00027 * Enumeration definitions 00028 **********************************************************/ 00029 00030 /********************************************************** 00031 * Type definitions 00032 **********************************************************/ 00033 00034 /********************************************************** 00035 * Global Variables 00036 **********************************************************/ 00037 extern FILE *midiReportPtr; // Output report file 00038 extern char *midiReportName; // Name of event log file 00039 extern FILE *midiQcLogPtr; // File pointer for the QC log file 00040 extern char *midiQcLogName; // Name of QC log file 00041 extern int batchNumber, diagnostic, plotFile, plotDuration, endOfTemplate; 00042 extern char outFileDir[MAX_STRING_LENGTH]; 00043 extern char outRootName[MAX_STRING_LENGTH]; 00044 extern char batchTemplate[MAX_STRING_LENGTH]; 00045 extern int rootName; 00046 extern char midiMessage[MAX_STRING_LENGTH]; 00047 extern int *badChannelList; 00048 00049 /********************************************************** 00050 * Function Prototypes 00051 **********************************************************/ 00052 00053 /*********************************************************/ 00054 #endif 00055 /*********************************************************/ 00056 /*********************************************************/