[PATCH] add support for attribute 'empty' for strlist to <match> tag

Danny Kukawka danny.kukawka at web.de
Wed Aug 23 15:56:02 PDT 2006


Hi,

this patch adds support for attribute 'empty' for type 'strlist' (currently 
only for type 'string') within the <match> tag of fdi-files. This should 
allow such kind of constructs:

[...]
  <remove key="info.callouts.add" type="strlist">blah</remove>
  <match key="info.callouts.add" empty="true">
     <remove key="info.callouts.add"></remove>
  </match>
[...]


Danny

 doc/spec/hal-spec-fdi-files.xml |    4 ++--
 hald/device.c                   |   20 ++++++++++++++++++++
 hald/device.h                   |    3 ++-
 hald/device_info.c              |   25 +++++++++++++++++++------
 4 files changed, 43 insertions(+), 9 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-add_fdi_empty_for_HAL_PROPERTY_TYPE_STRLIST.diff
Type: text/x-diff
Size: 3565 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060824/cfe44303/hal-add_fdi_empty_for_HAL_PROPERTY_TYPE_STRLIST-0001.bin


More information about the hal mailing list