]> sigrok.org Git - libsigrok.git/blobdiff - include/libsigrok/proto.h
Add filename field to sr_output and make it accessible
[libsigrok.git] / include / libsigrok / proto.h
index 3d07694d5f140b009842566d1f0ffb4c8eb897c8..788f80de1087601f751457cbdddb545fa2c6bdb2 100644 (file)
@@ -177,7 +177,8 @@ SR_API const struct sr_output_module *sr_output_find(char *id);
 SR_API const struct sr_option **sr_output_options_get(const struct sr_output_module *omod);
 SR_API void sr_output_options_free(const struct sr_option **opts);
 SR_API const struct sr_output *sr_output_new(const struct sr_output_module *omod,
-               GHashTable *params, const struct sr_dev_inst *sdi);
+               GHashTable *params, const struct sr_dev_inst *sdi,
+               const char *filename);
 SR_API int sr_output_send(const struct sr_output *o,
                const struct sr_datafeed_packet *packet, GString **out);
 SR_API int sr_output_free(const struct sr_output *o);