summaryrefslogtreecommitdiff
path: root/sigrokdecode.h
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2012-01-09 00:12:19 +0100
committerBert Vermeulen <bert@biot.com>2012-01-09 00:12:19 +0100
commitf9a3947a7a8d884de6c55693b216f89b1d27d979 (patch)
tree35b95a60d6485a6b4d56e42cef4765d7984e86ba /sigrokdecode.h
parent84b81f1df5a51285e55d808fdfb7968cd70711e9 (diff)
downloadlibsigrokdecode-f9a3947a7a8d884de6c55693b216f89b1d27d979.tar.gz
libsigrokdecode-f9a3947a7a8d884de6c55693b216f89b1d27d979.zip
srd: change output_new() API call to add()
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r--sigrokdecode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h
index 85845c9..1473969 100644
--- a/sigrokdecode.h
+++ b/sigrokdecode.h
@@ -175,7 +175,7 @@ int srd_run_decoder(uint64_t timeoffset, uint64_t duration,
struct srd_decoder_instance *dec, uint8_t *inbuf, uint64_t inbuflen);
int srd_session_feed(uint64_t timeoffset, uint64_t duration, uint8_t *inbuf,
uint64_t inbuflen);
-int pd_output_new(struct srd_decoder_instance *di, int output_type,
+int pd_add(struct srd_decoder_instance *di, int output_type,
char *output_id);
struct srd_decoder_instance *get_di_by_decobject(void *decobject);
int srd_register_callback(int output_type, void *cb);