X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fcommon%2Fui-system.h;h=3b7d3416f1cc512086350cb914a9e0a51ab0d08e;hp=82f630ea62397a6503bcbefe12bbfc83af02057d;hb=c43847fe14e6b32cc58b8e8168f78e72ef94316d;hpb=6b842bb2559116a949c6a569ac39f5c56ebc1be1 diff --git a/ui/common/ui-system.h b/ui/common/ui-system.h index 82f630e..3b7d341 100644 --- a/ui/common/ui-system.h +++ b/ui/common/ui-system.h @@ -24,17 +24,11 @@ #include "system/system.h" #include "types/types.h" #include "ui/common/timer.h" +#include "ui/common/discover-client.h" #include -struct pb_boot_data { - char *image; - char *initrd; - char *args; -}; - -int pb_run_kexec(const struct pb_boot_data *bd, int dry_run); -int pb_start_daemon(void); +int pb_start_daemon(void *ctx); unsigned int pb_elf_hash(const char *str); unsigned int pb_cat_hash(const char *a, const char *b);