]> git.ozlabs.org Git - petitboot/blobdiff - ui/twin/pbt-client.h
ui/common/url: remove scheme separator from URL scheme definitions
[petitboot] / ui / twin / pbt-client.h
index 731bf03388a8f97ad8ee413416c80572b51367db..014d5b2dc5f94f8b103da90d21eb65515f33a83c 100644 (file)
@@ -42,6 +42,7 @@ void pbt_frame_status_printf(struct pbt_frame *frame, const char *format, ...);
 
 struct pbt_client {
        const char *sig;
+       int dry_run;
        struct pb_signal_data signal_data;
        void *client_data;
        int (*kexec_cb)(struct pbt_client *pbt_client, struct pb_opt_data *pod);
@@ -52,7 +53,8 @@ struct pbt_client {
 
 struct pbt_client *pbt_client_init(enum pbt_twin_backend backend,
        unsigned int width, unsigned int height,
-       int (*kexec_cb)(struct pbt_client *, struct pb_opt_data *));
+       int (*kexec_cb)(struct pbt_client *, struct pb_opt_data *),
+       int start_deamon, int dry_run);
 void pbt_client_destroy(struct pbt_client *client);
 void pbt_client_resize(struct pbt_client *client);