ui->setupUi(this);
- for (ll = srd_list_decoders(), i = 0; ll; ll = ll->next, ++i) {
+ for (ll = srd_decoders_list(), i = 0; ll; ll = ll->next, ++i) {
dec = (struct srd_decoder *)ll->data;
/* Add the decoder to the list. */
/* The GUI wants to show a list of all PDs before use, so we
* might as well load them now.
*/
- srd_load_all_decoders();
+ srd_decoders_load_all();
return a.exec();
}
s.append("</table><p>");
s.append("<b>" + tr("Supported protocol decoders:") + "</b><table>");
- for (l = srd_list_decoders(); l; l = l->next) {
+ for (l = srd_decoders_list(); l; l = l->next) {
dec = (struct srd_decoder *)l->data;
s.append(QString("<tr><td><i>%1</i></td><td>%2</td></tr>")
.arg(QString(dec->id))
return;
}
- if (srd_inst_set_probes(di, pd_opthash) != SRD_OK) {
+ if (srd_inst_probes_set(di, pd_opthash) != SRD_OK) {
ui->plainTextEdit->appendPlainText("ERROR: srd_instance_set_probes");
return;
}