{
struct sr_probe *p;
- p = probe_find(device, probenum);
+ p = sr_device_probe_find(device, probenum);
if (!p)
return;
device->probes = g_slist_append(device->probes, p);
}
-struct sr_probe *probe_find(struct sr_device *device, int probenum)
+struct sr_probe *sr_device_probe_find(struct sr_device *device, int probenum)
{
GSList *l;
struct sr_probe *p, *found_probe;
{
struct sr_probe *p;
- p = probe_find(device, probenum);
+ p = sr_device_probe_find(device, probenum);
if (!p)
return;
return;
for (pnum = 1; pnum <= g_slist_length(device->probes); pnum++) {
- p = probe_find(device, pnum);
+ p = sr_device_probe_find(device, pnum);
if (p && p->trigger) {
g_free(p->trigger);
p->trigger = NULL;
{
struct sr_probe *p;
- p = probe_find(device, probenum);
+ p = sr_device_probe_find(device, probenum);
if (!p)
return;
void sr_device_probe_clear(struct sr_device *device, int probenum);
void sr_device_probe_add(struct sr_device *device, char *name);
-struct sr_probe *probe_find(struct sr_device *device, int probenum);
+struct sr_probe *sr_device_probe_find(struct sr_device *device, int probenum);
void sr_device_probe_name(struct sr_device *device, int probenum, char *name);
void sr_device_trigger_clear(struct sr_device *device);