dbus/test/data/valid-messages/dict.message
Havoc Pennington 68a3c593b9 2003-08-18 Havoc Pennington <hp@redhat.com>
* dbus/dbus-hash.c (_dbus_hash_table_insert_two_strings): fix

	* dbus/dbus-message.c (_dbus_message_loader_queue_messages): fix
	dumb bug created earlier (wrong order of args to
	decode_header_data())

	* tools/dbus-send.c: port

	* tools/dbus-print-message.c (print_message): port

        * test/data/*messages: port all messages over

        * dbus/dbus-message-builder.c: support including
	message type

        * bus/driver.c: port over

	* bus/dispatch.c: port over to new stuff

	* dbus/dbus-connection.c (_dbus_connection_new_for_transport):
	rename disconnect signal to "Disconnected"
2003-08-18 22:43:30 +00:00

52 lines
999 B
Text

# Dict with different values
VALID_HEADER method_call
FIELD_NAME ifce
TYPE STRING
STRING 'org.freedesktop.Foo'
FIELD_NAME mebr
TYPE STRING
STRING 'Bar'
ALIGN 8
END_LENGTH Header
START_LENGTH Body
TYPE DICT
LENGTH Dict
START_LENGTH Dict
STRING 'boolean'
TYPE BOOLEAN
BYTE 1
STRING 'int32'
TYPE INT32
INT32 0x12345678
STRING 'uint32'
TYPE UINT32
UINT32 0x8765432
STRING 'double'
TYPE DOUBLE
DOUBLE 3.141592653589
STRING 'string'
TYPE STRING
STRING 'This is a string'
STRING 'boolean_array'
TYPE ARRAY
TYPE BOOLEAN
BOOLEAN_ARRAY { true, false, false, true, false }
STRING 'int32_array'
TYPE ARRAY
TYPE INT32
INT32_ARRAY { 1, -2, 3, -4, 5, -6, 7, -8, 9, -10 }
STRING 'uint32_array'
TYPE ARRAY
TYPE UINT32
UINT32_ARRAY { 11, 12, 314, 1911, 57692, 1237, 2834 }
STRING 'double_array'
TYPE ARRAY
TYPE DOUBLE
DOUBLE_ARRAY { 0.1, 0.2, 3.1415926, 2.7183, 10.0, 9.99 }
STRING 'string_array'
TYPE ARRAY
TYPE STRING
STRING_ARRAY { 'Hello', 'This', 'Is', 'A', 'String', 'Array!' }
END_LENGTH Dict
END_LENGTH Body