1 #ifndef DBUS_CONTROL_H 2 #define DBUS_CONTROL_H 3 4 struct mbox_context; 5 6 int control_dbus_init(struct mbox_context *context); 7 void control_dbus_free(struct mbox_context *context); 8 9 int control_legacy_init(struct mbox_context *context); 10 void control_legacy_free(struct mbox_context *context); 11 12 /* Control actions */ 13 int control_ping(struct mbox_context *context); 14 int control_daemon_state(struct mbox_context *context); 15 int control_lpc_state(struct mbox_context *context); 16 int control_reset(struct mbox_context *context); 17 int control_kill(struct mbox_context *context); 18 int control_modified(struct mbox_context *context); 19 int control_suspend(struct mbox_context *context); 20 int control_resume(struct mbox_context *context, bool modified); 21 22 #endif 23