#ifdef HAVE_LA_ASIX_SIGMA
extern struct sr_device_plugin asix_sigma_plugin_info;
#endif
+#ifdef HAVE_LA_CHRONOVU_LA8
+extern struct device_plugin chronovu_la8_plugin_info;
+#endif
#ifdef HAVE_LA_LINK_MSO19
extern struct sr_device_plugin link_mso19_plugin_info;
#endif
#ifdef HAVE_LA_ASIX_SIGMA
plugins = g_slist_append(plugins, (gpointer *)&asix_sigma_plugin_info);
#endif
+#ifdef HAVE_LA_CHRONOVU_LA8
+ plugins = g_slist_append(plugins, (gpointer *)&chronovu_la8_plugin_info);
+#endif
#ifdef HAVE_LA_LINK_MSO19
plugins = g_slist_append(plugins, (gpointer *)&link_mso19_plugin_info);
#endif
return SR_OK;
}
-GSList *list_hwplugins(void)
+GSList *sr_list_hwplugins(void)
{
return plugins;
}
sdi->index = index;
sdi->status = status;
sdi->instance_type = -1;
- sdi->vendor = vendor ? strdup(vendor) : strdup("(unknown)");
- sdi->model = model ? strdup(model) : NULL;
+ sdi->vendor = vendor ? strdup(vendor) : NULL;
+ sdi->model = model ? strdup(model) : strdup("(unknown)");
sdi->version = version ? strdup(version) : NULL;
sdi->priv = NULL;
sdi->usb = NULL;
/* unnecessary level of indirection follows. */
-void source_remove(int fd)
+void sr_source_remove(int fd)
{
sr_session_source_remove(fd);
}
-void source_add(int fd, int events, int timeout, receive_data_callback rcv_cb,
- void *user_data)
+void sr_source_add(int fd, int events, int timeout,
+ sr_receive_data_callback rcv_cb, void *user_data)
{
sr_session_source_add(fd, events, timeout, rcv_cb, user_data);
}