-int sigrokdecode_load_decoder_file(const char *name);
-int sigrokdecode_run_decoder(const char *decodername, uint8_t *inbuf,
- uint64_t inbuflen, uint8_t **outbuf,
- uint64_t *outbuflen);
+GSList *sigrokdecode_list_decoders(void);
+struct sigrokdecode_decoder *sigrokdecode_get_decoder_by_id(const char *id);
+int sigrokdecode_run_decoder(struct sigrokdecode_decoder *dec,
+ uint8_t *inbuf, uint64_t inbuflen,
+ uint8_t **outbuf, uint64_t *outbuflen);