]> sigrok.org Git - libsigrok.git/blobdiff - src/libsigrok-internal.h
Add filename field to sr_output and make it accessible
[libsigrok.git] / src / libsigrok-internal.h
index 627e243cc8348652d5c321fd9664bf6e578b8708..3ab181b3f87c80e2eb6a8d60e634aee8368b08bc 100644 (file)
@@ -368,6 +368,11 @@ struct sr_output {
         */
        const struct sr_dev_inst *sdi;
 
+       /**
+        * The name of the file that the data should be written to.
+        */
+       const char *filename;
+
        /**
         * A generic pointer which can be used by the module to keep internal
         * state between calls into its callback functions.