diff options
author | Gareth McMullin <gareth@blacksphere.co.nz> | 2011-11-20 18:39:50 +1300 |
---|---|---|
committer | Gareth McMullin <gareth@blacksphere.co.nz> | 2011-11-20 18:39:50 +1300 |
commit | f97f531c2d31b729afbf1c97a0d017526bf8e52a (patch) | |
tree | 4ca0ecfef74be831ff3490db67986e15e08c32bb /sigrokdecode.h | |
parent | 74911b4c1f6d184dac878d94992d480af0564734 (diff) | |
download | libsigrokdecode-f97f531c2d31b729afbf1c97a0d017526bf8e52a.tar.gz libsigrokdecode-f97f531c2d31b729afbf1c97a0d017526bf8e52a.zip |
libsigrokdecode: Allow frontend to configure decoder probes.
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r-- | sigrokdecode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h index 76b53f5..dabfd33 100644 --- a/sigrokdecode.h +++ b/sigrokdecode.h @@ -106,6 +106,8 @@ int srd_run_decoder(struct srd_decoder_instance *dec, uint8_t *inbuf, uint64_t inbuflen, uint8_t **outbuf, uint64_t *outbuflen); struct srd_decoder_instance *srd_instance_new(const char *id); +int srd_instance_set_probe(struct srd_decoder_instance *di, + const char *probename, int num); int srd_exit(void); #ifdef __cplusplus |