]> sigrok.org Git - libsigrok.git/blobdiff - src/libsigrok-internal.h
output: Added preferred file extension field
[libsigrok.git] / src / libsigrok-internal.h
index debd27719a69a45da99b198a43639d9c64b7c25e..71f65616de52baf7b4705016d0a2aa7d990dea89 100644 (file)
@@ -371,6 +371,13 @@ struct sr_output_module {
         */
        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;
+
        /**
         * Returns a NULL-terminated list of options this module can take.
         * Can be NULL, if the module has no options.