blob: 82271fc0fb4be3c6988e530496b718a850be4837 [file] [log] [blame]
Andrew Jeffery4fe996c2018-02-27 12:16:48 +10301/* SPDX-License-Identifier: Apache-2.0 */
2/* Copyright (C) 2018 IBM Corp. */
Suraj Jitindar Singhe39c9162017-03-28 10:47:43 +11003
4#ifndef MBOXD_DBUS_H
5#define MBOXD_DBUS_H
6
Andrew Jeffery68023072018-08-06 10:08:11 +09307#include "dbus.h"
8#include "mbox.h"
9
Andrew Jefferyba0bbab2018-08-06 09:43:57 +093010int mboxd_dbus_init(struct mbox_context *context);
11void mboxd_dbus_free(struct mbox_context *context);
Suraj Jitindar Singhe39c9162017-03-28 10:47:43 +110012
Andrew Jeffery68023072018-08-06 10:08:11 +093013int control_legacy_init(struct mbox_context *context);
14void control_legacy_free(struct mbox_context *context);
15
16/* Control actions */
17int control_ping(struct mbox_context *context);
18int control_daemon_state(struct mbox_context *context);
19int control_lpc_state(struct mbox_context *context);
20int control_reset(struct mbox_context *context);
21int control_kill(struct mbox_context *context);
22int control_modified(struct mbox_context *context);
23int control_suspend(struct mbox_context *context);
24int control_resume(struct mbox_context *context, bool modified);
25
Suraj Jitindar Singhe39c9162017-03-28 10:47:43 +110026#endif /* MBOXD_DBUS_H */