]> sigrok.org Git - libsigrokdecode.git/commitdiff
sigrokdecode.h: Add struct sigrokdecode_decoder_info.
authorunknown <redacted>
Fri, 23 Apr 2010 16:49:17 +0000 (18:49 +0200)
committerUwe Hermann <redacted>
Fri, 23 Apr 2010 17:38:51 +0000 (19:38 +0200)
sigrokdecode.h

index 4c30c34b7ffb9fd257538d06aecae5631b868ff0..be3ab98e05d9929bf2b2864c29f5508557c40f57 100644 (file)
 #define SIGROKDECODE_ERR               -1 /* Generic/unspecified error */
 #define SIGROKDECODE_ERR_MALLOC                -2 /* Malloc/calloc/realloc error */
 
+/* TODO: Documentation. */
+struct sigrokdecode_decoder_info {
+       char *id;
+       char *name;
+       char *description;
+       char *function;
+       char *inputformats; /* FIXME: Should be a list. */
+       char *outputformats; /* FIXME: Should be a list. */
+};
+
 int sigrokdecode_init(void);
 int sigrokdecode_load_decoder_file(const char *name);
 int sigrokdecode_run_decoder(const char *modulename, const char *decodername,