From c7e05f9ca4ff7ab0c8499b2059004dd38d2c8784 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 3 Jan 2005 07:15:38 +0000 Subject: finish off my TODO list for stuff needed to port dbus-message.c. Next step is to do so. --- dbus/dbus-marshal-basic.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'dbus/dbus-marshal-basic.h') diff --git a/dbus/dbus-marshal-basic.h b/dbus/dbus-marshal-basic.h index 529ada5d..bf75cbef 100644 --- a/dbus/dbus-marshal-basic.h +++ b/dbus/dbus-marshal-basic.h @@ -275,11 +275,11 @@ dbus_bool_t _dbus_marshal_write_basic (DBusString *str, const void *value, int byte_order, int *pos_after); -dbus_bool_t _dbus_marshal_write_basic_array (DBusString *str, +dbus_bool_t _dbus_marshal_write_fixed_array (DBusString *str, int insert_at, int element_type, const void *value, - int len, + int n_elements, int byte_order, int *pos_after); void _dbus_marshal_read_basic (const DBusString *str, @@ -288,6 +288,13 @@ void _dbus_marshal_read_basic (const DBusString *str, void *value, int byte_order, int *new_pos); +void _dbus_marshal_read_fixed_array (const DBusString *str, + int pos, + int element_type, + void *value, + int *n_elements, + int byte_order, + int *new_pos); void _dbus_marshal_skip_basic (const DBusString *str, int type, int byte_order, @@ -308,7 +315,7 @@ dbus_bool_t _dbus_type_is_valid (int typecode); int _dbus_type_get_alignment (int typecode); dbus_bool_t _dbus_type_is_basic (int typecode); dbus_bool_t _dbus_type_is_container (int typecode); -dbus_bool_t _dbus_type_length_varies (int typecode); +dbus_bool_t _dbus_type_is_fixed (int typecode); -- cgit