]> sigrok.org Git - libsigrok.git/blobdiff - proto.h
output: Introduce output module API wrappers.
[libsigrok.git] / proto.h
diff --git a/proto.h b/proto.h
index 16bc269b099bf787a442f95bf748f3677c5cf96e..06e03766800d2dba83a8732bf5c6596e06192be4 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -130,6 +130,11 @@ SR_API struct sr_input_format **sr_input_list(void);
 /*--- output/output.c -------------------------------------------------------*/
 
 SR_API struct sr_output_format **sr_output_list(void);
+SR_API struct sr_output *sr_output_new(struct sr_output_format *of,
+               GHashTable *params, const struct sr_dev_inst *sdi);
+SR_API int sr_output_send(struct sr_output *o,
+               const struct sr_datafeed_packet *packet, GString **out);
+SR_API int sr_output_free(struct sr_output *o);
 
 /*--- strutil.c -------------------------------------------------------------*/