forked from scottransom/presto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzapbirds_cmd.h
45 lines (38 loc) · 1.22 KB
/
zapbirds_cmd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef __zapbirds_cmd__
#define __zapbirds_cmd__
/*****
command line parser interface -- generated by clig
(http://wsd.iitb.fhg.de/~geg/clighome/)
The command line parser `clig':
(C) 1995-2004 Harald Kirsch ([email protected])
*****/
typedef struct s_Cmdline {
/***** -zap: Zap the birds in the FFT from 'zapfile' (write to the FFT file) */
char zapP;
/***** -zapfile: A file of freqs and widths to zap from the FFT (when using '-zap') */
char zapfileP;
char* zapfile;
int zapfileC;
/***** -in: A file containing a list of freqs (Hz) and the # of harmonics to zap */
char inzapfileP;
char* inzapfile;
int inzapfileC;
/***** -out: A file to write that will contain the freqs and widths (Hz) zapped */
char outzapfileP;
char* outzapfile;
int outzapfileC;
/***** -baryv: The radial velocity component (v/c) towards the target during the obs */
char baryvP;
double baryv;
int baryvC;
/***** uninterpreted command line parameters */
int argc;
/*@null*/char **argv;
/***** the whole command line concatenated */
char *full_cmd_line;
} Cmdline;
extern char *Program;
extern void usage(void);
extern /*@shared*/Cmdline *parseCmdline(int argc, char **argv);
extern void showOptionValues(void);
#endif