diff options
author | unknown <Uwe@.(none)> | 2010-04-23 18:49:17 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-04-23 19:38:51 +0200 |
commit | 31b82285e5ca1fbd6a33eaaaa95bf83862b69eb1 (patch) | |
tree | 2ca65f9fb8806c13f81c652db9217a796e39188e /sigrokdecode.h | |
parent | 23a13b21b38211c73cbe0418a88060f0586cc065 (diff) | |
download | libsigrokdecode-31b82285e5ca1fbd6a33eaaaa95bf83862b69eb1.tar.gz libsigrokdecode-31b82285e5ca1fbd6a33eaaaa95bf83862b69eb1.zip |
sigrokdecode.h: Add struct sigrokdecode_decoder_info.
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r-- | sigrokdecode.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h index 4c30c34..be3ab98 100644 --- a/sigrokdecode.h +++ b/sigrokdecode.h @@ -45,6 +45,16 @@ #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, |