]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
input: feed the filename to the module's init() function
[libsigrok.git] / libsigrok.h
index 2c117be1af5aef0b7664426e3b813a0289a6e1a1..b6d2b64046ebbda6f2a438a91ea5bf5fea2c1854 100644 (file)
@@ -311,7 +311,7 @@ struct sr_input_format {
        char *id;
        char *description;
        int (*format_match) (const char *filename);
-       int (*init) (struct sr_input *in);
+       int (*init) (struct sr_input *in, const char *filename);
        int (*loadfile) (struct sr_input *in, const char *filename);
 };