]> git.ozlabs.org Git - petitboot/commit
lib: Add plugin_option type and protocol
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 14 Feb 2017 04:56:55 +0000 (15:56 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 15 Aug 2017 01:40:09 +0000 (11:40 +1000)
commit98b04aa42a4f1dc8e585f00d75c3b28d9e9aa2a9
tree5d87ea583c6d8c5a8b92628c611ac417ddd272be
parent4974b691020cca86ce6c7f1f62c7c3fee4f52c61
lib: Add plugin_option type and protocol

Add a new struct 'plugin_option' to represent pb-plugins that are
installed on the system. This consists of plugin metadata and an array
of installed executables.
This also adds two new pb-protocol actions to advertise the addition of
a new plugin_option, and to remove known plugin_options.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
lib/pb-protocol/pb-protocol.c
lib/pb-protocol/pb-protocol.h
lib/types/types.h