input/output: Slightly improved module descriptions.

This commit is contained in:
Uwe Hermann 2018-04-19 18:19:44 +02:00
parent 9a4fd01af8
commit b20eb52055
15 changed files with 16 additions and 16 deletions

View File

@ -174,7 +174,7 @@ static const struct sr_option *get_options(void)
SR_PRIV struct sr_input_module input_binary = { SR_PRIV struct sr_input_module input_binary = {
.id = "binary", .id = "binary",
.name = "Binary", .name = "Binary",
.desc = "Raw binary", .desc = "Raw binary logic data",
.exts = NULL, .exts = NULL,
.options = get_options, .options = get_options,
.init = init, .init = init,

View File

@ -181,8 +181,8 @@ static const struct sr_option *get_options(void)
SR_PRIV struct sr_input_module input_chronovu_la8 = { SR_PRIV struct sr_input_module input_chronovu_la8 = {
.id = "chronovu-la8", .id = "chronovu-la8",
.name = "Chronovu-LA8", .name = "ChronoVu LA8",
.desc = "ChronoVu LA8", .desc = "ChronoVu LA8 native file format data",
.exts = (const char*[]){"kdt", NULL}, .exts = (const char*[]){"kdt", NULL},
.metadata = { SR_INPUT_META_FILESIZE | SR_INPUT_META_REQUIRED }, .metadata = { SR_INPUT_META_FILESIZE | SR_INPUT_META_REQUIRED },
.options = get_options, .options = get_options,

View File

@ -281,7 +281,7 @@ static int reset(struct sr_input *in)
SR_PRIV struct sr_input_module input_raw_analog = { SR_PRIV struct sr_input_module input_raw_analog = {
.id = "raw_analog", .id = "raw_analog",
.name = "RAW analog", .name = "RAW analog",
.desc = "Raw analog signals without header", .desc = "Raw analog data without header",
.exts = (const char*[]){"raw", "bin", NULL}, .exts = (const char*[]){"raw", "bin", NULL},
.options = get_options, .options = get_options,
.init = init, .init = init,

View File

@ -648,7 +648,7 @@ static const struct sr_option *get_options(void)
SR_PRIV struct sr_input_module input_vcd = { SR_PRIV struct sr_input_module input_vcd = {
.id = "vcd", .id = "vcd",
.name = "VCD", .name = "VCD",
.desc = "Value Change Dump", .desc = "Value Change Dump data",
.exts = (const char*[]){"vcd", NULL}, .exts = (const char*[]){"vcd", NULL},
.metadata = { SR_INPUT_META_HEADER | SR_INPUT_META_REQUIRED }, .metadata = { SR_INPUT_META_HEADER | SR_INPUT_META_REQUIRED },
.options = get_options, .options = get_options,

View File

@ -376,7 +376,7 @@ static int reset(struct sr_input *in)
SR_PRIV struct sr_input_module input_wav = { SR_PRIV struct sr_input_module input_wav = {
.id = "wav", .id = "wav",
.name = "WAV", .name = "WAV",
.desc = "WAV file", .desc = "Microsoft WAV file format data",
.exts = (const char*[]){"wav", NULL}, .exts = (const char*[]){"wav", NULL},
.metadata = { SR_INPUT_META_HEADER | SR_INPUT_META_REQUIRED }, .metadata = { SR_INPUT_META_HEADER | SR_INPUT_META_REQUIRED },
.format_match = format_match, .format_match = format_match,

View File

@ -205,7 +205,7 @@ static int cleanup(struct sr_output *o)
SR_PRIV struct sr_output_module output_analog = { SR_PRIV struct sr_output_module output_analog = {
.id = "analog", .id = "analog",
.name = "Analog", .name = "Analog",
.desc = "Analog data and types", .desc = "ASCII analog data values and units",
.exts = NULL, .exts = NULL,
.flags = 0, .flags = 0,
.options = get_options, .options = get_options,

View File

@ -272,7 +272,7 @@ static const struct sr_option *get_options(void)
SR_PRIV struct sr_output_module output_ascii = { SR_PRIV struct sr_output_module output_ascii = {
.id = "ascii", .id = "ascii",
.name = "ASCII", .name = "ASCII",
.desc = "ASCII art", .desc = "ASCII art logic data",
.exts = (const char*[]){"txt", NULL}, .exts = (const char*[]){"txt", NULL},
.flags = 0, .flags = 0,
.options = get_options, .options = get_options,

View File

@ -45,7 +45,7 @@ static int receive(const struct sr_output *o, const struct sr_datafeed_packet *p
SR_PRIV struct sr_output_module output_binary = { SR_PRIV struct sr_output_module output_binary = {
.id = "binary", .id = "binary",
.name = "Binary", .name = "Binary",
.desc = "Raw binary", .desc = "Raw binary logic data",
.exts = NULL, .exts = NULL,
.flags = 0, .flags = 0,
.options = NULL, .options = NULL,

View File

@ -238,7 +238,7 @@ static const struct sr_option *get_options(void)
SR_PRIV struct sr_output_module output_bits = { SR_PRIV struct sr_output_module output_bits = {
.id = "bits", .id = "bits",
.name = "Bits", .name = "Bits",
.desc = "0/1 digits", .desc = "0/1 digits logic data",
.exts = (const char*[]){"txt", NULL}, .exts = (const char*[]){"txt", NULL},
.flags = 0, .flags = 0,
.options = get_options, .options = get_options,

View File

@ -187,7 +187,7 @@ static int cleanup(struct sr_output *o)
SR_PRIV struct sr_output_module output_chronovu_la8 = { SR_PRIV struct sr_output_module output_chronovu_la8 = {
.id = "chronovu-la8", .id = "chronovu-la8",
.name = "ChronoVu LA8", .name = "ChronoVu LA8",
.desc = "ChronoVu LA8 native file format", .desc = "ChronoVu LA8 native file format data",
.exts = (const char*[]){"kdt", NULL}, .exts = (const char*[]){"kdt", NULL},
.flags = 0, .flags = 0,
.options = NULL, .options = NULL,

View File

@ -252,7 +252,7 @@ static const struct sr_option *get_options(void)
SR_PRIV struct sr_output_module output_hex = { SR_PRIV struct sr_output_module output_hex = {
.id = "hex", .id = "hex",
.name = "Hexadecimal", .name = "Hexadecimal",
.desc = "Hexadecimal digits", .desc = "Hexadecimal digits logic data",
.exts = (const char*[]){"txt", NULL}, .exts = (const char*[]){"txt", NULL},
.flags = 0, .flags = 0,
.options = get_options, .options = get_options,

View File

@ -149,7 +149,7 @@ static int cleanup(struct sr_output *o)
SR_PRIV struct sr_output_module output_ols = { SR_PRIV struct sr_output_module output_ols = {
.id = "ols", .id = "ols",
.name = "OLS", .name = "OLS",
.desc = "OpenBench Logic Sniffer", .desc = "OpenBench Logic Sniffer data",
.exts = (const char*[]){"ols", NULL}, .exts = (const char*[]){"ols", NULL},
.flags = 0, .flags = 0,
.options = NULL, .options = NULL,

View File

@ -487,7 +487,7 @@ static int cleanup(struct sr_output *o)
SR_PRIV struct sr_output_module output_srzip = { SR_PRIV struct sr_output_module output_srzip = {
.id = "srzip", .id = "srzip",
.name = "srzip", .name = "srzip",
.desc = "srzip session file", .desc = "srzip session file format data",
.exts = (const char*[]){"sr", NULL}, .exts = (const char*[]){"sr", NULL},
.flags = SR_OUTPUT_INTERNAL_IO_HANDLING, .flags = SR_OUTPUT_INTERNAL_IO_HANDLING,
.options = get_options, .options = get_options,

View File

@ -270,7 +270,7 @@ static int cleanup(struct sr_output *o)
struct sr_output_module output_vcd = { struct sr_output_module output_vcd = {
.id = "vcd", .id = "vcd",
.name = "VCD", .name = "VCD",
.desc = "Value Change Dump", .desc = "Value Change Dump data",
.exts = (const char*[]){"vcd", NULL}, .exts = (const char*[]){"vcd", NULL},
.flags = 0, .flags = 0,
.options = NULL, .options = NULL,

View File

@ -367,7 +367,7 @@ static int cleanup(struct sr_output *o)
SR_PRIV struct sr_output_module output_wav = { SR_PRIV struct sr_output_module output_wav = {
.id = "wav", .id = "wav",
.name = "WAV", .name = "WAV",
.desc = "Microsoft WAV file format", .desc = "Microsoft WAV file format data",
.exts = (const char*[]){"wav", NULL}, .exts = (const char*[]){"wav", NULL},
.flags = 0, .flags = 0,
.options = get_options, .options = get_options,