discover: Introduce a container type for boot options
authorJeremy Kerr <jk@ozlabs.org>
Thu, 14 Mar 2013 06:18:54 +0000 (14:18 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 29 Apr 2013 04:31:20 +0000 (14:31 +1000)
commite4f5bd235894c11823ac1befe8c8c43063cad026
treec5787f3434f43d331edfb55dc64d1d4dfe1cb807
parent397dc244bfdc2a57fc3e8fd191b0ef60c8a4b66b
discover: Introduce a container type for boot options

This change introduces a new type, struct discover_boot_option. Like
struct discover_device adds discover-specific data to struct device,
struct discover_boot_option allows the discover server to store more
than just the boot option strings for a boot option.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/device-handler.c
discover/device-handler.h
discover/discover-server.c
discover/event-parser.c
discover/grub2-parser.c
discover/kboot-parser.c
discover/yaboot-parser.c
test/parser/parser-test.c