From 61411a061c09def43687153e6c734ff27b7fd556 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 11 May 2005 18:07:22 +0000 Subject: 2005-05-11 Colin Walters * dbus/dbus-signature.c (dbus_signature_iter_get_signature): New function, returns signature string for signature iter. * dbus/dbus-signature.h: Prototype it. * dbus/dbus-message.c (dbus_message_iter_get_signature): New function, returns signature string for message iter. (dbus_message_iter_get_array_len): New function, returns length of array. (dbus_message_iter_get_fixed_array): Fix assertion; this function should be used when the iter is pointing to the contents of an array * dbus/dbus-message.h: Prototypes. * dbus/dbus-marshal-recursive.c (_dbus_type_reader_get_array_length): New function; returns length of an array. * dbus/dbus-marshal-recursive.h: Prototype it. --- dbus/dbus-marshal-recursive.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dbus/dbus-marshal-recursive.h') diff --git a/dbus/dbus-marshal-recursive.h b/dbus/dbus-marshal-recursive.h index 779e449a..328741ac 100644 --- a/dbus/dbus-marshal-recursive.h +++ b/dbus/dbus-marshal-recursive.h @@ -146,6 +146,7 @@ int _dbus_type_reader_get_element_type (const DBusTypeReader * int _dbus_type_reader_get_value_pos (const DBusTypeReader *reader); void _dbus_type_reader_read_basic (const DBusTypeReader *reader, void *value); +int _dbus_type_reader_get_array_length (const DBusTypeReader *reader); void _dbus_type_reader_read_fixed_multi (const DBusTypeReader *reader, void *value, int *n_elements); -- cgit