summaryrefslogtreecommitdiff
path: root/sigrokdecode.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2011-02-06 17:36:32 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2011-02-06 17:36:32 +0100
commit75a282e54f566cb6bc9b684dd1bf63d7e36a68b3 (patch)
tree3ab85fcac2865c6c6d92929f0410aaec40d16d83 /sigrokdecode.h
parent4ed59136f8033c2cb745302bfd42d359c541e64b (diff)
downloadlibsigrokdecode-75a282e54f566cb6bc9b684dd1bf63d7e36a68b3.tar.gz
libsigrokdecode-75a282e54f566cb6bc9b684dd1bf63d7e36a68b3.zip
struct srd_decoder: Add more string fields.
Get the following string fields from the .py decoders' register() function and store them in the respective 'struct srd_decoder': - longname - longdesc - author - email - license
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r--sigrokdecode.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h
index c0de99f..ccfb6c1 100644
--- a/sigrokdecode.h
+++ b/sigrokdecode.h
@@ -57,8 +57,15 @@ extern "C" {
struct srd_decoder {
char *id;
char *name;
+ char *longname;
char *desc;
+ char *longdesc;
+ char *author;
+ char *email;
+ char *license;
+
char *func;
+
GSList *inputformats;
GSList *outputformats;