+2006-03-10 Ross Burton <ross@openedhand.com>
+
+ * tools/dbus-print-message.c:
+ Add support for object paths and signatures.
+
2006-03-06 Sjoerd Simons <sjoerd@luon.net>
* bus/bus.c: (bus_context_reload_config): Flush the user database cache on
switch (type)
{
case DBUS_TYPE_STRING:
- dbus_message_iter_get_basic (iter, &str);
+ dbus_message_iter_get_basic (iter, &str);
if (!literal)
printf ("string \"");
printf ("%s", str);
printf ("\"\n");
break;
+ case DBUS_TYPE_OBJECT_PATH:
+ dbus_message_iter_get_basic (iter, &str);
+ if (!literal)
+ printf ("object path \"");
+ printf ("%s", str);
+ if (!literal)
+ printf ("\"\n");
+ break;
+
+ case DBUS_TYPE_SIGNATURE:
+ dbus_message_iter_get_basic (iter, &str);
+ if (!literal)
+ printf ("signature \"");
+ printf ("%s", str);
+ if (!literal)
+ printf ("\"\n");
+ break;
+
case DBUS_TYPE_INT32:
- dbus_message_iter_get_basic (iter, &int32);
+ dbus_message_iter_get_basic (iter, &int32);
printf ("int32 %d\n", int32);
break;
case DBUS_TYPE_UINT32:
- dbus_message_iter_get_basic (iter, &uint32);
+ dbus_message_iter_get_basic (iter, &uint32);
printf ("uint32 %u\n", uint32);
break;