]> sigrok.org Git - libsigrok.git/blobdiff - src/libsigrok-internal.h
input: Added preferred file extension field
[libsigrok.git] / src / libsigrok-internal.h
index bd2d4c74b268e1ccf400dc58feff6bb40ac57084..debd27719a69a45da99b198a43639d9c64b7c25e 100644 (file)
@@ -238,6 +238,13 @@ struct sr_input_module {
         */
        const char *desc;
 
+       /**
+        * A NULL terminated array of strings containing a list of file name
+        * extensions typical for the input file format, or NULL if there is
+        * no typical extension for this file format.
+        */
+       const char *const *exts;
+
        /**
         * Zero-terminated list of metadata items the module needs to be able
         * to identify an input stream. Can be all-zero, if the module cannot