X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fcommon%2Fui-system.h;h=b75c4d1bfecbe45ff766354a912af37714479305;hp=ca5edb4d8e60210ebfdee0d736de08641d159015;hb=8c3d5ce5b02ffce64ae3a8ab3fef43be17f6974d;hpb=5cceb42c773aa404456417685ea50b2ada5570a2 diff --git a/ui/common/ui-system.h b/ui/common/ui-system.h index ca5edb4..b75c4d1 100644 --- a/ui/common/ui-system.h +++ b/ui/common/ui-system.h @@ -19,8 +19,10 @@ #if !defined(_PB_UI_SYSTEM_H) #define _PB_UI_SYSTEM_H -#include "pb-protocol/pb-protocol.h" +#include + #include "system/system.h" +#include "types/types.h" #include "ui/common/timer.h" #include @@ -31,7 +33,8 @@ struct pb_kexec_data { char *args; }; -int pb_run_kexec(const struct pb_kexec_data *kd); +int pb_run_kexec(const struct pb_kexec_data *kd, int dry_run); +int pb_start_daemon(void); unsigned int pb_elf_hash(const char *str); unsigned int pb_cat_hash(const char *a, const char *b);