Andrew Jeffery | 55f4d6f | 2018-08-06 12:26:44 +0930 | [diff] [blame] | 1 | #ifndef DBUS_CONTROL_H |
| 2 | #define DBUS_CONTROL_H |
Suraj Jitindar Singh | e39c916 | 2017-03-28 10:47:43 +1100 | [diff] [blame] | 3 | |
Andrew Jeffery | 26558db | 2018-08-10 00:22:38 +0930 | [diff] [blame] | 4 | struct mbox_context; |
Andrew Jeffery | 6802307 | 2018-08-06 10:08:11 +0930 | [diff] [blame] | 5 | |
Andrew Jeffery | 55f4d6f | 2018-08-06 12:26:44 +0930 | [diff] [blame] | 6 | int control_dbus_init(struct mbox_context *context); |
| 7 | void control_dbus_free(struct mbox_context *context); |
Suraj Jitindar Singh | e39c916 | 2017-03-28 10:47:43 +1100 | [diff] [blame] | 8 | |
Andrew Jeffery | 6802307 | 2018-08-06 10:08:11 +0930 | [diff] [blame] | 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 | |
Andrew Jeffery | 55f4d6f | 2018-08-06 12:26:44 +0930 | [diff] [blame] | 22 | #endif |