mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-24 04:18:10 +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
27 lines
422 B
Text
27 lines
422 B
Text
## like simplest.message, but doesn't use VALID_HEADER
|
|
## convenience command. mostly to test the test framework.
|
|
|
|
LITTLE_ENDIAN
|
|
BYTE 'l'
|
|
BYTE 1
|
|
BYTE 0
|
|
BYTE 0
|
|
LENGTH Header
|
|
LENGTH Body
|
|
## client serial
|
|
INT32 7
|
|
|
|
FIELD_NAME path
|
|
TYPE OBJECT_PATH
|
|
OBJECT_PATH '/foo'
|
|
FIELD_NAME ifce
|
|
TYPE STRING
|
|
STRING 'org.freedesktop.Foo'
|
|
FIELD_NAME mebr
|
|
TYPE STRING
|
|
STRING 'Bar'
|
|
|
|
ALIGN 8
|
|
END_LENGTH Header
|
|
START_LENGTH Body
|
|
END_LENGTH Body
|