]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
sr: add recv/cleanup calls to output module API
[libsigrok.git] / libsigrok.h
index 53905b6f8127a5965066270c4448e0268b707b36..bdc07230bd45d8f19a290fd05c670288318433e8 100644 (file)
@@ -252,6 +252,9 @@ struct sr_output_format {
                     uint64_t *length_out);
        int (*event) (struct sr_output *o, int event_type, uint8_t **data_out,
                      uint64_t *length_out);
+       GString *(*recv) (struct sr_output *o, const struct sr_dev_inst *sdi,
+                       struct sr_datafeed_packet *packet);
+       int (*cleanup) (struct sr_output *o);
 };
 
 struct sr_datastore {