diff options
author | Geoff Levand <geoff@infradead.org> | 2012-03-08 20:48:21 -0800 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2012-03-08 20:51:37 -0800 |
commit | 604a1ccf072f9f33326fb6dc919c1b6233d40866 (patch) | |
tree | 88297738af995f9ea8df78e134d0a2dac111d157 /ui/twin/pbt-client.h | |
parent | ae0ba68f475ae5b057aad6538765bc8702134b9a (diff) | |
download | talos-petitboot-604a1ccf072f9f33326fb6dc919c1b6233d40866.tar.gz talos-petitboot-604a1ccf072f9f33326fb6dc919c1b6233d40866.zip |
Add --start-daemon option to ui programs
Add the option --start-daemon to automatically start
pb-discover if it is not already started. For use
when running as a stand-alone app.
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 731bf03..119bc94 100644 --- a/ui/twin/pbt-client.h +++ b/ui/twin/pbt-client.h @@ -52,7 +52,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); void pbt_client_destroy(struct pbt_client *client); void pbt_client_resize(struct pbt_client *client); |