Add system info messages
authorJeremy Kerr <jk@ozlabs.org>
Wed, 9 Oct 2013 04:02:08 +0000 (12:02 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 9 Oct 2013 09:40:04 +0000 (17:40 +0800)
commitbc4114e2235163bd88456c25cc0a908d86151f93
tree47e7e1674e33a5f138ed3a390c3dc02e2d9f3133
parentab7076882bc49d895209bf0ecb84e4003e034dd9
Add system info messages

Add a little infrastructure for communicating information about the
system to the petitboot UIs. We just send some identifying info (type
and identifier), as well as the interfaces.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
13 files changed:
discover/Makefile.am
discover/discover-server.c
discover/discover-server.h
discover/network.c
discover/pb-discover.c
discover/sysinfo.c [new file with mode: 0644]
discover/sysinfo.h [new file with mode: 0644]
lib/pb-protocol/pb-protocol.c
lib/pb-protocol/pb-protocol.h
lib/types/types.h
ui/common/discover-client.c
ui/common/discover-client.h
ui/test/discover-test.c