X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=output%2Foutput.c;h=b95cda77466c0fb45daa7f5a614c36dafb486a0e;hb=218557b85a308adc6ac533eb3f33d3dee17c13f8;hp=6ab9becadb0c4940f359a30727933ce151c30a5b;hpb=02076d69f9505bc20ce0e9f67fa131054d8baeab;p=libsigrok.git
diff --git a/output/output.c b/output/output.c
index 6ab9beca..b95cda77 100644
--- a/output/output.c
+++ b/output/output.c
@@ -17,24 +17,32 @@
* along with this program. If not, see .
*/
-#include "sigrok.h"
+#include
-extern struct output_format output_text_bits;
-extern struct output_format output_text_hex;
-extern struct output_format output_binary;
-extern struct output_format output_vcd;
-extern struct output_format output_gnuplot;
+extern struct sr_output_format output_text_bits;
+extern struct sr_output_format output_text_hex;
+extern struct sr_output_format output_text_ascii;
+extern struct sr_output_format output_binary;
+extern struct sr_output_format output_vcd;
+extern struct sr_output_format output_ols;
+extern struct sr_output_format output_gnuplot;
+extern struct sr_output_format output_analog_bits;
+extern struct sr_output_format output_analog_gnuplot;
-struct output_format *output_module_list[] = {
+static struct sr_output_format *output_module_list[] = {
&output_text_bits,
&output_text_hex,
+ &output_text_ascii,
&output_binary,
&output_vcd,
+ &output_ols,
&output_gnuplot,
+ &output_analog_bits,
+ &output_analog_gnuplot,
NULL,
};
-struct output_format **output_list(void)
+struct sr_output_format **sr_output_list(void)
{
return output_module_list;
}