Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (38 sloc) 1.06 KB
#ifndef __wapp2psrfits_cmd__
#define __wapp2psrfits_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 (clig@geggus.net)
*****/
typedef struct s_Cmdline {
/***** -n: The number of simultaneous WAPPs to combine */
char numwappsP;
int numwapps;
int numwappsC;
/***** -b: The number of bits in each output sample (4 or 8) */
char numbitsP;
int numbits;
int numbitsC;
/***** -g: Approx length in GB of output data files */
char outlenGBP;
int outlenGB;
int outlenGBC;
/***** -o: Name of the output psrfits file */
char outfileP;
char* outfile;
int outfileC;
/***** -i: Invert the band */
char invertP;
/***** 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