blob: 17e4dec975ca5d8f595f356e6cbf6c78ebb87c75 [file] [log] [blame]
#ifndef DBUS_CONTROL_H
#define DBUS_CONTROL_H
struct mbox_context;
int control_dbus_init(struct mbox_context *context);
void control_dbus_free(struct mbox_context *context);
int control_legacy_init(struct mbox_context *context);
void control_legacy_free(struct mbox_context *context);
/* Control actions */
int control_ping(struct mbox_context *context);
int control_daemon_state(struct mbox_context *context);
int control_lpc_state(struct mbox_context *context);
int control_reset(struct mbox_context *context);
int control_kill(struct mbox_context *context);
int control_modified(struct mbox_context *context);
int control_suspend(struct mbox_context *context);
int control_resume(struct mbox_context *context, bool modified);
#endif