]> sigrok.org Git - libsigrok.git/blobdiff - src/output/output.c
output/null: Add a null module that discards all data.
[libsigrok.git] / src / output / output.c
index efb205c68192d8d020f590c86b04841cc9e3c886..c6c2d7206cbb2fce828177546659a13284127258 100644 (file)
@@ -64,6 +64,7 @@ extern SR_PRIV struct sr_output_module output_csv;
 extern SR_PRIV struct sr_output_module output_analog;
 extern SR_PRIV struct sr_output_module output_srzip;
 extern SR_PRIV struct sr_output_module output_wav;
+extern SR_PRIV struct sr_output_module output_null;
 /* @endcond */
 
 static const struct sr_output_module *output_module_list[] = {
@@ -78,6 +79,7 @@ static const struct sr_output_module *output_module_list[] = {
        &output_analog,
        &output_srzip,
        &output_wav,
+       &output_null,
        NULL,
 };