]> sigrok.org Git - libsigrok.git/commit
Add new sr_dev_options() helper function.
authorMartin Ling <redacted>
Mon, 2 Nov 2015 00:40:40 +0000 (00:40 +0000)
committerUwe Hermann <redacted>
Thu, 31 Dec 2015 18:00:16 +0000 (19:00 +0100)
commite7136c626f433bcdc101eaa24191ce5682803540
tree9c4d6f934a8375112ec08648defeb9532dda30ac
parent71e9c54dab31384224b566c705d6084253f08bdd
Add new sr_dev_options() helper function.

This function replaces the pattern of calling config_list() with
SR_CONF_DEVICE_OPTIONS to obtain a list of device options. Note
that this does not include the SR_CONF_{GET,SET,LIST} bitmask,
which is now retrieved for a specific key by calling
sr_dev_config_capabilties().
include/libsigrok/proto.h
src/device.c