forked from scottransom/presto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadfile_cmd.h
95 lines (88 loc) · 2.69 KB
/
readfile_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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#ifndef __readfile_cmd__
#define __readfile_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 {
/***** -page: Paginate the output like 'more' */
char pageP;
/***** -byte: Raw data in byte format */
char bytP;
/***** -b: Raw data in byte format */
char sbytP;
/***** -float: Raw data in floating point format */
char fltP;
/***** -f: Raw data in floating point format */
char sfltP;
/***** -double: Raw data in double precision format */
char dblP;
/***** -d: Raw data in double precision format */
char sdblP;
/***** -fcomplex: Raw data in float-complex format */
char fcxP;
/***** -fc: Raw data in float-complex format */
char sfcxP;
/***** -dcomplex: Raw data in double-complex format */
char dcxP;
/***** -dc: Raw data in double-complex format */
char sdcxP;
/***** -short: Raw data in short format */
char shtP;
/***** -s: Raw data in short format */
char sshtP;
/***** -int: Raw data in integer format */
char igrP;
/***** -i: Raw data in integer format */
char sigrP;
/***** -long: Raw data in long format */
char lngP;
/***** -l: Raw data in long format */
char slngP;
/***** -rzwcand: Raw data in rzw search candidate format */
char rzwP;
/***** -rzw: Raw data in rzw search candidate format */
char srzwP;
/***** -bincand: Raw data in bin search candidate format */
char binP;
/***** -bin: Raw data in bin search candidate format */
char sbinP;
/***** -position: Raw data in position struct format */
char posP;
/***** -pos: Raw data in position struct format */
char sposP;
/***** -pkmb: Raw data in Parkes Multibeam format */
char pkmbP;
/***** -bcpm: Raw data in BCPM format */
char bcpmP;
/***** -wapp: Raw data in WAPP format */
char wappP;
/***** -spigot: Raw data in Spigot Card format */
char spigotP;
/***** -filterbank: Raw data in SIGPROC filterbank format */
char filterbankP;
/***** -psrfits: Raw data in PSRFITS format */
char psrfitsP;
/***** -fortran: Raw data was written by a fortran program */
char fortranP;
/***** -index: The range of objects to display */
char indexP;
int *index;
int indexC;
/***** -nph: 0th FFT bin amplitude (for 'RZW' data) */
char nphP;
double nph;
int nphC;
/***** 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