X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=libsigrokdecode.h;h=1603582a0cc5f80e8c2ce32ad10a32a97743672e;hp=3175fd8b94a1f35d0b50d89dc9919b813ec6cd86;hb=eafe8f08a1cb46e411dcd358f0d748f7d1aa47aa;hpb=37b94c205e4c1c43e77e29993108f23066cbce05 diff --git a/libsigrokdecode.h b/libsigrokdecode.h index 3175fd8..1603582 100644 --- a/libsigrokdecode.h +++ b/libsigrokdecode.h @@ -168,6 +168,12 @@ struct srd_decoder { */ GSList *annotations; + /** + * List of annotation rows (row items: id, description, and a list + * of annotation classes belonging to this row). + */ + GSList *annotation_rows; + /** * List of NULL-terminated char[], containing descriptions of the * supported binary output. @@ -205,6 +211,12 @@ struct srd_decoder_option { GVariant *def; }; +struct srd_decoder_annotation_row { + char *id; + char *desc; + GSList *ann_classes; +}; + struct srd_decoder_inst { struct srd_decoder *decoder; struct srd_session *sess;