From c8769e0b1dde3f1c4ad40cd10dd89c284ecc672b Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Mon, 24 Feb 2003 19:04:13 +0000 Subject: 2003-02-24 Anders Carlsson * dbus/dbus-internals.c: (_dbus_type_to_string): * dbus/dbus-marshal.c: (_dbus_marshal_get_arg_end_pos), (_dbus_marshal_validate_arg): * dbus/dbus-message-builder.c: (_dbus_message_data_load): * dbus/dbus-message.c: (dbus_message_append_args_valist), (dbus_message_append_boolean), (dbus_message_append_boolean_array), (dbus_message_get_args_valist), (dbus_message_iter_get_boolean), (dbus_message_iter_get_int32), (dbus_message_iter_get_uint32), (dbus_message_iter_get_double), (dbus_message_iter_get_boolean_array), (message_iter_test): * dbus/dbus-message.h: * dbus/dbus-protocol.h: * doc/dbus-specification.sgml: * test/data/valid-messages/lots-of-arguments.message: Add support for boolean and boolean array types. --- dbus/dbus-protocol.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'dbus/dbus-protocol.h') diff --git a/dbus/dbus-protocol.h b/dbus/dbus-protocol.h index dd9b3122..1a6fcb80 100644 --- a/dbus/dbus-protocol.h +++ b/dbus/dbus-protocol.h @@ -42,15 +42,17 @@ extern "C" { /* Data types */ #define DBUS_TYPE_INVALID 0 #define DBUS_TYPE_NIL 1 -#define DBUS_TYPE_INT32 2 -#define DBUS_TYPE_UINT32 3 -#define DBUS_TYPE_DOUBLE 4 -#define DBUS_TYPE_STRING 5 -#define DBUS_TYPE_INT32_ARRAY 6 -#define DBUS_TYPE_UINT32_ARRAY 7 -#define DBUS_TYPE_DOUBLE_ARRAY 8 -#define DBUS_TYPE_BYTE_ARRAY 9 -#define DBUS_TYPE_STRING_ARRAY 10 +#define DBUS_TYPE_BOOLEAN 2 +#define DBUS_TYPE_INT32 3 +#define DBUS_TYPE_UINT32 4 +#define DBUS_TYPE_DOUBLE 5 +#define DBUS_TYPE_STRING 6 +#define DBUS_TYPE_BOOLEAN_ARRAY 7 +#define DBUS_TYPE_INT32_ARRAY 8 +#define DBUS_TYPE_UINT32_ARRAY 9 +#define DBUS_TYPE_DOUBLE_ARRAY 10 +#define DBUS_TYPE_BYTE_ARRAY 11 +#define DBUS_TYPE_STRING_ARRAY 12 /* Header flags */ #define DBUS_HEADER_FLAG_ERROR 0x1 -- cgit