diff options
author | Bert Vermeulen <bert@biot.com> | 2012-02-14 03:28:53 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2012-02-14 03:28:53 +0100 |
commit | 9b37109da365335c1b6da14f073513c7855872d8 (patch) | |
tree | 2fcd34e0572d7b70ae03ceacf56b5a42da4d2933 /sigrokdecode.h | |
parent | 582c8473ffd456dfb0796974ef2c0b1b78de38a8 (diff) | |
download | libsigrokdecode-9b37109da365335c1b6da14f073513c7855872d8.tar.gz libsigrokdecode-9b37109da365335c1b6da14f073513c7855872d8.zip |
srd: don't load all protocol decoders unless we really need to.
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r-- | sigrokdecode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h index c1fbb0d..4e65ed2 100644 --- a/sigrokdecode.h +++ b/sigrokdecode.h @@ -222,7 +222,7 @@ SRD_API int srd_register_callback(int output_type, SRD_API GSList *srd_list_decoders(void); SRD_API struct srd_decoder *srd_get_decoder_by_id(const char *id); -SRD_API int srd_load_decoder(const char *name, struct srd_decoder **dec); +SRD_API int srd_load_decoder(const char *name); SRD_API int srd_unload_decoder(struct srd_decoder *dec); SRD_API int srd_load_all_decoders(void); SRD_API int srd_unload_all_decoders(void); |