dbus: Use new bus name, object and interface

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>
diff --git a/mboxd.c b/mboxd.c
index bc9fd8d..efed052 100644
--- a/mboxd.c
+++ b/mboxd.c
@@ -30,7 +30,7 @@
 #include "mbox.h"
 #include "common.h"
 #include "dbus.h"
-#include "mboxd_dbus.h"
+#include "control_dbus.h"
 #include "mboxd_flash.h"
 #include "mboxd_lpc.h"
 #include "mboxd_msg.h"
@@ -50,6 +50,9 @@
 "\t\t\t\t(default: 1MB)\n" \
 "\t-f | --flash\t\tSize of flash in [K|M] bytes\n\n"
 
+int mboxd_dbus_init(struct mbox_context *context);
+void mboxd_dbus_free(struct mbox_context *context);
+
 static int poll_loop(struct mbox_context *context)
 {
 	int rc = 0, i;