2012-05-22 13:09:48 -04:00
|
|
|
#ifndef COMMONS_H
|
|
|
|
#define COMMONS_H
|
|
|
|
|
2012-10-03 11:42:13 -04:00
|
|
|
#define NSMAX 22000
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
2012-09-25 12:04:38 -04:00
|
|
|
extern struct {
|
2012-10-03 11:42:13 -04:00
|
|
|
short int d2[1800*12000]; //This is "common/jt9com/..." in fortran
|
2012-09-28 19:59:50 -04:00
|
|
|
float ss[184*NSMAX];
|
|
|
|
float savg[NSMAX];
|
2012-09-25 12:04:38 -04:00
|
|
|
double fcenter; //USB dial freq (kHz)
|
|
|
|
int nutc; //UTC as integer, HHMM
|
2012-09-25 16:26:12 -04:00
|
|
|
int ntrperiod; //TR period (seconds)
|
2012-09-25 12:04:38 -04:00
|
|
|
int mousedf; //User-selected DF
|
|
|
|
int mousefqso; //User-selected QSO freq (kHz)
|
|
|
|
int nagain; //1 ==> decode only at fQSO +/- Tol
|
|
|
|
int ndepth; //How much hinted decoding to do?
|
|
|
|
int ndiskdat; //1 ==> data read from *.tf2 or *.iq file
|
|
|
|
int newdat; //1 ==> new data, must do long FFT
|
|
|
|
int nfa; //Low decode limit (kHz)
|
|
|
|
int nfb; //High decode limit (kHz)
|
|
|
|
int ntol; //+/- decoding range around fQSO (Hz)
|
|
|
|
int map65RxLog; //Flags to control log files
|
|
|
|
int nfsample; //Input sample rate
|
|
|
|
int nsave; //Number of s3(64,63) spectra saved
|
2012-07-04 12:27:57 -04:00
|
|
|
int kin;
|
2012-07-13 09:37:50 -04:00
|
|
|
int kline;
|
2012-09-25 12:04:38 -04:00
|
|
|
char datetime[20];
|
2012-10-03 11:42:13 -04:00
|
|
|
} jt9com_;
|
2012-09-25 12:04:38 -04:00
|
|
|
|
2012-05-22 13:09:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // COMMONS_H
|