mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-22 06:40:07 +01:00
* dbus/dbus-message-builder.c (_dbus_message_data_load): append random signature when using REQUIRED_FIELDS (this hack won't work in the long term) * dbus/dbus-message.c: change the signature to be a header field, instead of message->signature special-case string. Incremental step forward. Then we can fix up code to send the signature in the message, then fix up code to validate said signature, then fix up code to not put the typecodes inline, etc. (load_one_message): don't make up the signature after the fact (decode_header_data): require signature field for the known message types * dbus/dbus-marshal.c (_dbus_marshal_string_len): new * dbus/dbus-protocol.h: add DBUS_HEADER_FIELD_SIGNATURE
22 lines
441 B
Text
22 lines
441 B
Text
# Standard org.freedesktop.DBus.ListServices message
|
|
|
|
VALID_HEADER method_call
|
|
HEADER_FIELD PATH
|
|
TYPE OBJECT_PATH
|
|
OBJECT_PATH '/org/freedesktop/DBus'
|
|
HEADER_FIELD INTERFACE
|
|
TYPE STRING
|
|
STRING 'org.freedesktop.DBus'
|
|
HEADER_FIELD MEMBER
|
|
TYPE STRING
|
|
STRING 'ListServices'
|
|
HEADER_FIELD DESTINATION
|
|
TYPE STRING
|
|
STRING 'org.freedesktop.DBus'
|
|
HEADER_FIELD SIGNATURE
|
|
TYPE STRING
|
|
STRING ''
|
|
ALIGN 8
|
|
END_LENGTH Header
|
|
START_LENGTH Body
|
|
END_LENGTH Body
|