diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-02-27 11:00:32 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-04-15 15:42:26 +0800 |
commit | 69c459db80abece18b5557d9b8a8098a88329c28 (patch) | |
tree | c4faa93f3039a20d79180cd99b43e35d0f80f3d2 /ui/common/ui-system.h | |
parent | 01ed80939b8ed440390729c524ad875047dbd406 (diff) | |
download | talos-petitboot-69c459db80abece18b5557d9b8a8098a88329c28.tar.gz talos-petitboot-69c459db80abece18b5557d9b8a8098a88329c28.zip |
discover-client: Add discover_client_boot
This change implements the client side of the server-based boot
interface. We add a funcion, discover_client_boot, which serialises a
boot message, then sends it to the server.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/common/ui-system.h')
-rw-r--r-- | ui/common/ui-system.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ui/common/ui-system.h b/ui/common/ui-system.h index bf4f4e9..b4372ee 100644 --- a/ui/common/ui-system.h +++ b/ui/common/ui-system.h @@ -24,15 +24,10 @@ #include "system/system.h" #include "types/types.h" #include "ui/common/timer.h" +#include "ui/common/discover-client.h" #include <signal.h> -struct pb_boot_data { - char *image; - char *initrd; - char *args; -}; - int pb_boot(const struct pb_boot_data *bd, int dry_run); int pb_start_daemon(void); |