1 #include <src/dbus_api/modest-dbus-api.h>
6 main (int argc, char *argv[])
9 osso_context_t * osso_context = osso_initialize ("test_open_default_inbox",
14 if (osso_context == NULL) {
15 g_printerr ("osso_initialize() failed.\n");
20 const osso_return_t ret = osso_rpc_run_with_defaults(osso_context,
22 MODEST_DBUS_METHOD_TOP_APPLICATION, &retval,
26 printf("debug: %s: osso_rpc_run() failed.\n", __FUNCTION__);
29 printf("debug: %s: osso_rpc_run() succeeded.\n", __FUNCTION__);
32 osso_rpc_free_val(&retval);