]> git.ozlabs.org Git - petitboot/commit
Add protocol object compare routines
authorGeoff Levand <geoffrey.levand@am.sony.com>
Sat, 7 Feb 2009 18:35:52 +0000 (18:35 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Sat, 21 Feb 2009 00:06:22 +0000 (11:06 +1100)
commit08b9b747db92ce682e094ef86f48321d29fc44d6
tree93e6a063e42c2d65ac54e4a79206ac14f15156c0
parent8cb7063b23c1ec7a712270e6e264a3b2e0ab80a2
Add protocol object compare routines

Add routines pb_protocol_device_cmp() and pb_protocol_boot_option_cmp()
to hide the implemention details of the device.  The implementation
of the id can be changed without effecting the users of it.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/pb-protocol/pb-protocol.c
lib/pb-protocol/pb-protocol.h