summaryrefslogtreecommitdiff
path: root/commons.h
diff options
context:
space:
mode:
authorIain R. Learmonth <irl@debian.org>2015-10-18 17:55:15 +0100
committerIain R. Learmonth <irl@debian.org>2015-10-18 17:55:15 +0100
commitc720a3d55c5ec832c29cb7ce50b6fb4b70c55b11 (patch)
treeecf89ef5fb2aa173119808e84e6d2e4cc15b962c /commons.h
Imported Upstream version 1.1.r3496upstream/1.1.r3496
Diffstat (limited to 'commons.h')
-rw-r--r--commons.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/commons.h b/commons.h
new file mode 100644
index 00000000..e521841c
--- /dev/null
+++ b/commons.h
@@ -0,0 +1,35 @@
+#ifndef COMMONS_H
+#define COMMONS_H
+
+//#define NSMAX 1365
+#define NSMAX 6827
+#define NTMAX 120
+
+extern "C" {
+
+extern struct {
+ float ss[184*NSMAX]; //This is "common/jt9com/..." in fortran
+ float savg[NSMAX];
+ short int d2[NTMAX*12000];
+ int nutc; //UTC as integer, HHMM
+ int ndiskdat; //1 ==> data read from *.wav file
+ int ntrperiod; //TR period (seconds)
+ int nfqso; //User-selected QSO freq (kHz)
+ int newdat; //1 ==> new data, must do long FFT
+ int npts8; //npts for c0() array
+ int nfa; //Low decode limit (Hz)
+ int nfb; //High decode limit (Hz)
+ int ntol; //+/- decoding range around fQSO (Hz)
+ int kin;
+ int nzhsym;
+ int nsave;
+ int nagain;
+ int ndepth;
+ int ntxmode;
+ int nmode;
+ char datetime[20];
+} jt9com_;
+
+}
+
+#endif // COMMONS_H