X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=libsigrokdecode.h;h=f07e1ee32da91542e506ec2b9ef3c81e234e4161;hp=1603582a0cc5f80e8c2ce32ad10a32a97743672e;hb=7a23306705864b1cc96bbbee57d47e6f87f7767b;hpb=1ce468178f581b6270e1f2862ab585e8a38aa056 diff --git a/libsigrokdecode.h b/libsigrokdecode.h index 1603582..f07e1ee 100644 --- a/libsigrokdecode.h +++ b/libsigrokdecode.h @@ -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,