+static struct sr_option options[] = {
+ { "width", "Width", "Number of samples per line", NULL, NULL },
+ { "charset", "Charset", "Characters for 0/1 bits (and fall/rise edges)", NULL, NULL },
+ ALL_ZERO
+};
+
+static const struct sr_option *get_options(void)
+{
+ if (!options[0].def) {
+ options[0].def = g_variant_new_uint32(DEFAULT_SAMPLES_PER_LINE);
+ g_variant_ref_sink(options[0].def);
+ options[1].def = g_variant_new_string(DEFAULT_ASCII_CHARS);
+ g_variant_ref_sink(options[1].def);
+ }
+
+ return options;
+}
+
+SR_PRIV struct sr_output_module output_ascii = {