[PATCH 2/3] conf-parser: Add support for parsing property lists.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> + * Some configuration files may contain a Property List section, which
> + * is a bit special. Normally all accepted lvalues must be predefined
> + * in the pa_config_item table, but in the Property List section the
> + * pa_config_item table is ignored, and all lvalues are accepted (as
> + * long as they are valid proplist keys). If the proplist pointer is
> + * non-NULL, the parser will parse any section named "Property List" as
> + * properties, and those properties will be merged into the given
> + * proplist. If proplist is NULL, then sections named "Property List"
> + * are not allowed at all in the configuration file.
> + */

Now that I think of it, [Properties] is probably an even better section 
name - what do you think?

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux