efl/legacy/edbus/src
José Roberto de Souza a0cae1706e edbus: Fix type check of solo structs
When reading messages that contain structs the type that comes from the
wire (and obtained with dbus_message_iter_get_arg_type()) is 'r'.
However 'r' never appears in a signature and dbus_signature_iter_*
returns '('.

Ref: http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-signatures

"STRUCT has a type code, ASCII character 'r', but this type code does not
appear in signatures. Instead, ASCII characters '(' and ')' are used to
mark the beginning and end of the struct. So for example, a struct
containing two integers would have this signature:"

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78072
2012-10-16 22:35:50 +00:00
..
examples edbus: Add dictionary iterator 2012-10-16 22:35:44 +00:00
lib edbus: Fix type check of solo structs 2012-10-16 22:35:50 +00:00