blob: 4a3b2ff2a618198306f3ee57c73ebcb078ddae0d [file] [log] [blame]
Andrew Jeffery55f4d6f2018-08-06 12:26:44 +09301#ifndef DBUS_CONTROL_H
2#define DBUS_CONTROL_H
Suraj Jitindar Singhe39c9162017-03-28 10:47:43 +11003
Andrew Jeffery68023072018-08-06 10:08:11 +09304#include "mbox.h"
5
Andrew Jeffery55f4d6f2018-08-06 12:26:44 +09306int control_dbus_init(struct mbox_context *context);
7void control_dbus_free(struct mbox_context *context);
Suraj Jitindar Singhe39c9162017-03-28 10:47:43 +11008
Andrew Jeffery68023072018-08-06 10:08:11 +09309int control_legacy_init(struct mbox_context *context);
10void control_legacy_free(struct mbox_context *context);
11
12/* Control actions */
13int control_ping(struct mbox_context *context);
14int control_daemon_state(struct mbox_context *context);
15int control_lpc_state(struct mbox_context *context);
16int control_reset(struct mbox_context *context);
17int control_kill(struct mbox_context *context);
18int control_modified(struct mbox_context *context);
19int control_suspend(struct mbox_context *context);
20int control_resume(struct mbox_context *context, bool modified);
21
Andrew Jeffery55f4d6f2018-08-06 12:26:44 +093022#endif