📄 cli.h
字号:
#define ALL_VALID 9090#define INVALID 8080#define HELP 7070typedef struct {/* All the variables that can be changed from the command line */int analysis; /* Analysis execution flag */char *bit_error; /* Name of bit error pattern file */char *chan_file; /* Name of channel file */int channel_type; /* Type of channel to use */int code_param; /* Encode/Decode parameters flag */int edac; /* EDAC flag */char *error_parms; /* Name of error parameter file */float error_rate; /* Error rate for random error channel */int read_chan; /* Channel file read flag */int smoothing; /* Smoothing of codebook parameters */int synthesis; /* Synthesis execution flag */int write_chan; /* Channel file write flag */} CLI;int cli(int argc, char *argv[], CLI *UserParams, char **infile, char **outfile); int Setup(int argc,char *argv[],CLI *UserParams,FILE **fp_ifile, FILE **fp_ofile, FILE **chan_ofp); void wrapup(FILE *fp_ifile, FILE *fp_ofile,
FILE *chan_ofp);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -