mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-24 03:08:12 +02:00
* test/data/valid-config-files/system.d/test.conf: change to root for the user so warnings don't get printed * dbus/dbus-message.c: add dbus_message_get_path, dbus_message_set_path * dbus/dbus-object-tree.c (do_test_dispatch): add test of dispatching to a path * dbus/dbus-string.c (_dbus_string_validate_path): add * dbus/dbus-marshal.c (_dbus_demarshal_object_path): implement (_dbus_marshal_object_path): implement * dbus/dbus-protocol.h (DBUS_HEADER_FIELD_PATH): new header field to contain the path to the target object (DBUS_HEADER_FIELD_SENDER_SERVICE): rename DBUS_HEADER_FIELD_SENDER to explicitly say it's the sender service
30 lines
426 B
Text
30 lines
426 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 method_call
|
|
|
|
REQUIRED_FIELDS
|
|
|
|
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
|