diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-01-28 01:02:18 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-02-01 11:42:03 +0200 |
commit | 270eb0acc79346ac0b641f405c40bf3b959a4c6f (patch) | |
tree | fca6218b4fb3e0765e2c9e6fb3f366caea03e32e /test/v4l2_device/v4l2_device_test.h | |
parent | c8c546fe99a343c13c7c0b8f2e5e180c19831b43 (diff) |
cam: options: Add a key=value parser
Some options passed to the cam utility need to be complex and specify a
list of key=value pairs. Add a new parser to deal with these options,
usable on its own to parse key=value pairs from any string.
Integrate the KeyValueParser into the existing OptionsParser. The cam
application can fully describe all its options in one location and
perform full parsing of all arguments in one go. The KeyValueParser also
integrates itself with the usage() printing of the OptionsParser.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_device/v4l2_device_test.h')
0 files changed, 0 insertions, 0 deletions