* no need to let them all scan
*/
device = NULL;
- plugins = sr_list_hwplugins();
+ plugins = sr_hwplugins_list();
for (p = plugins; p; p = p->next) {
plugin = p->data;
if (strcmp(plugin->name, devicestring))
continue;
- num_devices = sr_init_hwplugin(plugin);
+ num_devices = sr_hwplugin_init(plugin);
if (num_devices == 1) {
devices = sr_dev_list();
device = devices->data;
printf("sigrok-cli %s\n\n", VERSION);
printf("Supported hardware drivers:\n");
- plugins = sr_list_hwplugins();
+ plugins = sr_hwplugins_list();
for (p = plugins; p; p = p->next) {
plugin = p->data;
printf(" %-20s %s\n", plugin->name, plugin->longname);