X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Flibsigrok-internal.h;h=71f65616de52baf7b4705016d0a2aa7d990dea89;hb=8a174d23427735617d69c7502ed8dcade786bbf9;hp=bd2d4c74b268e1ccf400dc58feff6bb40ac57084;hpb=15eea61a470617c2e8df066180821f532b3cbf88;p=libsigrok.git diff --git a/src/libsigrok-internal.h b/src/libsigrok-internal.h index bd2d4c74..71f65616 100644 --- a/src/libsigrok-internal.h +++ b/src/libsigrok-internal.h @@ -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 @@ -364,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.