Change PD options to be a tuple of dictionaries.
[libsigrokdecode.git] / libsigrokdecode.h
index 1603582a0cc5f80e8c2ce32ad10a32a97743672e..f07e1ee32da91542e506ec2b9ef3c81e234e4161 100644 (file)
@@ -209,6 +209,7 @@ struct srd_decoder_option {
        char *id;
        char *desc;
        GVariant *def;
+    GSList *values;
 };
 
 struct srd_decoder_annotation_row {
@@ -312,7 +313,7 @@ SRD_API int srd_decoder_unload_all(void);
 SRD_API int srd_inst_option_set(struct srd_decoder_inst *di,
                GHashTable *options);
 SRD_API int srd_inst_probe_set_all(struct srd_decoder_inst *di,
-               GHashTable *probes);
+               GHashTable *probes, int unit_size);
 SRD_API struct srd_decoder_inst *srd_inst_new(struct srd_session *sess,
                const char *id, GHashTable *options);
 SRD_API int srd_inst_stack(struct srd_session *sess,