]> sigrok.org Git - libsigrok.git/blobdiff - sigrok-proto.h
cli: don't initialize and scan for hardware unless needed
[libsigrok.git] / sigrok-proto.h
index 199599e118537558359e539d1856bdf6cac1b890..ec80e404853ed51e05a5f0053ef38fd58de1b9b2 100644 (file)
@@ -35,10 +35,11 @@ void datastore_put(struct datastore *ds, void *data, unsigned int length,
 /*--- device.c --------------------------------------------------------------*/
 
 void device_scan(void);
+int device_plugin_init(struct device_plugin *plugin);
 void device_close_all(void);
 GSList *device_list(void);
 struct device *device_new(struct device_plugin *plugin, int plugin_index,
-                         int num_probes, int probe_type);
+                         int num_probes);
 void device_clear(struct device *device);
 void device_destroy(struct device *dev);