summaryrefslogtreecommitdiffstats
path: root/control_dbus.c
Commit message (Collapse)AuthorAgeFilesLines
* control: dbus: Remove unnecessary vpnor header dependencyAndrew Jeffery2019-03-191-1/+0
| | | | | Change-Id: I334bdf6086ec376c1d83c48756dc8c56fe521a4b Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* mboxd: Add backend DBus interface and commandline optionsAndrew Jeffery2019-03-191-0/+88
| | | | | | | | | | | | Also implement a backend commandline option to mboxctl: `mboxctl --backend ...`, to allow easy run-time switching of the backend from the commandline. Switching between VPNOR and file backends via mboxctl was tested on Witherspoon, and MTD and file backends on Romulus. Change-Id: Iaf0e27ecf1d5cdd9e3a31729fb179096bbc37408 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* mboxd: Refactor and rename mbox.h to mboxd.hAndrew Jeffery2018-09-121-1/+1
| | | | | | | | | | | | Refine the purpose of the header file to represent what's required for the daemon itself, not its constituent pieces. Rather, split those definitions out to their respective header files and include them as necessary. Finally the header file is renamed to better reflect its purpose. Change-Id: I48c409f57d96c844589cd865b24f197477dfe87c Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* dbus: Use new bus name, object and interfaceAndrew Jeffery2018-09-051-0/+166
The new interface is a more typical use of DBus, exposing multiple methods for the functions that are available on the object. The legacy interface by comparison exposed only one method whose arguments selected sub-commands to be executed. The legacy approach is not terribly discoverable and leads to a lack of clarity in the client code. The legacy approach also obscured the implementation with its use of `struct mbox_dbus_msg`. The new interface wraps around the existing helpers and so also deals with `struct mbox_dbus_msg`, but this can at least be removed in the future. Change-Id: I7113ed8fd2324bf3fb049d8d20acb3fd7fba6de3 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
OpenPOWER on IntegriCloud