]> git.ozlabs.org Git - petitboot/blobdiff - ui/twin/pbt-client.h
ui/ncurses: implement global keys
[petitboot] / ui / twin / pbt-client.h
index 6c359208a312fc146b67387c8cae39bef5f2eab4..7b9671fa26065c75911f2c5e9f7a50afb3e918e3 100644 (file)
@@ -42,20 +42,15 @@ 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);
-
        struct pbt_frame frame;
        struct discover_client *discover_client;
        struct waitset *waitset;
 };
 
 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 dry_run);
+       unsigned int width, unsigned int height, int start_deamon);
 void pbt_client_destroy(struct pbt_client *client);
 void pbt_client_resize(struct pbt_client *client);