summaryrefslogtreecommitdiff
path: root/sigrokdecode.h
diff options
context:
space:
mode:
authorGareth McMullin <gareth@blacksphere.co.nz>2011-11-20 18:39:50 +1300
committerGareth McMullin <gareth@blacksphere.co.nz>2011-11-20 18:39:50 +1300
commitf97f531c2d31b729afbf1c97a0d017526bf8e52a (patch)
tree4ca0ecfef74be831ff3490db67986e15e08c32bb /sigrokdecode.h
parent74911b4c1f6d184dac878d94992d480af0564734 (diff)
downloadlibsigrokdecode-f97f531c2d31b729afbf1c97a0d017526bf8e52a.tar.gz
libsigrokdecode-f97f531c2d31b729afbf1c97a0d017526bf8e52a.zip
libsigrokdecode: Allow frontend to configure decoder probes.
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r--sigrokdecode.h2
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