summaryrefslogtreecommitdiff
path: root/libsigrokdecode.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsigrokdecode.h')
-rw-r--r--libsigrokdecode.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libsigrokdecode.h b/libsigrokdecode.h
index 3175fd8..1603582 100644
--- a/libsigrokdecode.h
+++ b/libsigrokdecode.h
@@ -169,6 +169,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;