From f97f531c2d31b729afbf1c97a0d017526bf8e52a Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Sun, 20 Nov 2011 18:39:50 +1300 Subject: libsigrokdecode: Allow frontend to configure decoder probes. --- sigrokdecode.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sigrokdecode.h') 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 -- cgit v1.2.3-70-g09d2