summaryrefslogtreecommitdiffstats
path: root/ui/twin/pbt-client.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-02-27 14:28:55 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-04-15 14:54:21 +0800
commit1b0b59295d0500764c5096753f7cd11bf3ab5df4 (patch)
treeec9212781e9e7acf57b399ab7ed13d27244b0012 /ui/twin/pbt-client.h
parent6b842bb2559116a949c6a569ac39f5c56ebc1be1 (diff)
downloadtalos-petitboot-1b0b59295d0500764c5096753f7cd11bf3ab5df4.tar.gz
talos-petitboot-1b0b59295d0500764c5096753f7cd11bf3ab5df4.zip
ui: callback & boot actions: kexec -> boot
find ui/ -type f | xargs sed -i -e s/kexec_cb/boot_cb/g \ -e s/on_kexec/on_boot/g \ -e s/run_kexec/boot/g Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/twin/pbt-client.h')
-rw-r--r--ui/twin/pbt-client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/twin/pbt-client.h b/ui/twin/pbt-client.h
index 6c35920..7e74e4e 100644
--- a/ui/twin/pbt-client.h
+++ b/ui/twin/pbt-client.h
@@ -45,7 +45,7 @@ struct pbt_client {
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);
+ int (*boot_cb)(struct pbt_client *pbt_client, struct pb_opt_data *pod);
struct pbt_frame frame;
struct discover_client *discover_client;
@@ -54,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 (*boot_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);
OpenPOWER on IntegriCloud