]> sigrok.org Git - libsigrok.git/commit
sr/drivers: add API calls sr_dev_inst_list() and sr_dev_inst_clear()
authorBert Vermeulen <redacted>
Sun, 5 Aug 2012 22:59:25 +0000 (00:59 +0200)
committerBert Vermeulen <redacted>
Sun, 5 Aug 2012 22:59:25 +0000 (00:59 +0200)
commit811deee4af9f600ae0c457a74d3877c4f68f2f37
tree422ddf46c4d9206b54f4ac0d089608c64974bf45
parent014359e3293ef0cdc61fbde4f63dc0a9da98179d
sr/drivers: add API calls sr_dev_inst_list() and sr_dev_inst_clear()

These are used to list the device instances currently known to the driver,
and clear that list.

Drivers that don't necessarily clear their list of instances on every scan,
such as genericdmm, need to provide these to the frontend to keep instance
management sane.
device.c
hardware/asix-sigma/asix-sigma.c
hardware/chronovu-la8/api.c
hardware/demo/demo.c
hardware/fx2lafw/fx2lafw.c
hardware/genericdmm/api.c
hardware/hantek-dso/api.c
hardware/openbench-logic-sniffer/ols.c
hardware/zeroplus-logic-cube/zeroplus.c
libsigrok.h
proto.h