diff options
author | Geoff Levand <geoff@infradead.org> | 2012-03-27 19:59:09 -0700 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2012-03-27 19:59:09 -0700 |
commit | 59e81c46a962da51e51474e9b36258ff0e04ae42 (patch) | |
tree | 036563070462f2c8d936037e4545965e89a6516a /ui/twin/pbt-client.h | |
parent | b5958d7864822ec3151edda616952d1d401b139a (diff) | |
download | talos-petitboot-59e81c46a962da51e51474e9b36258ff0e04ae42.tar.gz talos-petitboot-59e81c46a962da51e51474e9b36258ff0e04ae42.zip |
Add UI option --dry-run
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'ui/twin/pbt-client.h')
-rw-r--r-- | ui/twin/pbt-client.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/twin/pbt-client.h b/ui/twin/pbt-client.h index 119bc94..014d5b2 100644 --- a/ui/twin/pbt-client.h +++ b/ui/twin/pbt-client.h @@ -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); @@ -53,7 +54,7 @@ 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 start_deamon); + int start_deamon, int dry_run); void pbt_client_destroy(struct pbt_client *client); void pbt_client_resize(struct pbt_client *client); |