mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-26 08:48:12 +02:00
* dbus/dbus-address.c: (dbus_address_entry_free): Free key and value lists. * dbus/dbus-internals.c: (_dbus_type_to_string): Add the types we didn't have. * dbus/dbus-marshal.c: (_dbus_marshal_get_arg_end_pos), (_dbus_marshal_validate_arg): Add NIL types. * dbus/dbus-message.c: (dbus_message_set_sender): Remove todo about being able to set sender to NULL. (dbus_message_set_is_error_reply), (dbus_message_get_is_error_reply): * dbus/dbus-message.h: New functions. * dbus/dbus-protocol.h: Add error reply flag. * test/data/valid-messages/opposite-endian.message: Add NIL type to test.
36 lines
495 B
Text
36 lines
495 B
Text
## Message of opposite endianness, with lots of random fields in it
|
|
|
|
OPPOSITE_ENDIAN
|
|
|
|
## VALID_HEADER includes a LENGTH Header and LENGTH Body
|
|
VALID_HEADER
|
|
|
|
FIELD_NAME rply
|
|
TYPE INT32
|
|
INT32 10000
|
|
|
|
FIELD_NAME name
|
|
TYPE STRING
|
|
STRING 'org.freedesktop.Foo'
|
|
|
|
FIELD_NAME unkn
|
|
TYPE INT32
|
|
INT32 0xfeeb
|
|
|
|
ALIGN 8
|
|
END_LENGTH Header
|
|
|
|
START_LENGTH Body
|
|
|
|
TYPE INT32
|
|
INT32 89765432
|
|
TYPE UINT32
|
|
UINT32 0xfffffff
|
|
TYPE STRING
|
|
STRING 'Hello this is a string'
|
|
TYPE DOUBLE
|
|
DOUBLE 3.14159
|
|
|
|
TYPE NIL
|
|
|
|
END_LENGTH Body
|