xref: /openbmc/hiomapd/control_dbus.h (revision 5320f6e0)
1 #ifndef DBUS_CONTROL_H
2 #define DBUS_CONTROL_H
3 
4 struct mbox_context;
5 struct backend;
6 
7 int control_dbus_init(struct mbox_context *context);
8 void control_dbus_free(struct mbox_context *context);
9 
10 int control_legacy_init(struct mbox_context *context);
11 void control_legacy_free(struct mbox_context *context);
12 
13 /* Control actions */
14 int control_ping(struct mbox_context *context);
15 int control_daemon_state(struct mbox_context *context);
16 int control_lpc_state(struct mbox_context *context);
17 int control_reset(struct mbox_context *context);
18 int control_kill(struct mbox_context *context);
19 int control_modified(struct mbox_context *context);
20 int control_suspend(struct mbox_context *context);
21 int control_resume(struct mbox_context *context, bool modified);
22 int control_set_backend(struct mbox_context *context, struct backend *backend, void *data);
23 
24 #endif
25