diff options
Diffstat (limited to 'dbus/dbus-marshal.h')
-rw-r--r-- | dbus/dbus-marshal.h | 99 |
1 files changed, 51 insertions, 48 deletions
diff --git a/dbus/dbus-marshal.h b/dbus/dbus-marshal.h index bdeeccb9..cedca6b8 100644 --- a/dbus/dbus-marshal.h +++ b/dbus/dbus-marshal.h @@ -124,54 +124,57 @@ dbus_bool_t _dbus_marshal_string_array (DBusString *str, const char **value, int len); -double _dbus_demarshal_double (DBusString *str, - int byte_order, - int pos, - int *new_pos); -dbus_int32_t _dbus_demarshal_int32 (DBusString *str, - int byte_order, - int pos, - int *new_pos); -dbus_uint32_t _dbus_demarshal_uint32 (DBusString *str, - int byte_order, - int pos, - int *new_pos); -char * _dbus_demarshal_string (DBusString *str, - int byte_order, - int pos, - int *new_pos); -unsigned char *_dbus_demarshal_byte_array (DBusString *str, - int byte_order, - int pos, - int *new_pos, - int *array_len); -dbus_int32_t *_dbus_demarshal_int32_array (DBusString *str, - int byte_order, - int pos, - int *new_pos, - int *array_len); -dbus_uint32_t *_dbus_demarshal_uint32_array (DBusString *str, - int byte_order, - int pos, - int *new_pos, - int *array_len); -double *_dbus_demarshal_double_array (DBusString *str, - int byte_order, - int pos, - int *new_pos, - int *array_len); -char **_dbus_demarshal_string_array (DBusString *str, - int byte_order, - int pos, - int *new_pos, - int *array_len); - -dbus_bool_t _dbus_marshal_get_field_end_pos (DBusString *str, - int byte_order, - int pos, - int *end_pos); - - +double _dbus_demarshal_double (const DBusString *str, + int byte_order, + int pos, + int *new_pos); +dbus_int32_t _dbus_demarshal_int32 (const DBusString *str, + int byte_order, + int pos, + int *new_pos); +dbus_uint32_t _dbus_demarshal_uint32 (const DBusString *str, + int byte_order, + int pos, + int *new_pos); +char * _dbus_demarshal_string (const DBusString *str, + int byte_order, + int pos, + int *new_pos); +unsigned char *_dbus_demarshal_byte_array (const DBusString *str, + int byte_order, + int pos, + int *new_pos, + int *array_len); +dbus_int32_t * _dbus_demarshal_int32_array (const DBusString *str, + int byte_order, + int pos, + int *new_pos, + int *array_len); +dbus_uint32_t *_dbus_demarshal_uint32_array (const DBusString *str, + int byte_order, + int pos, + int *new_pos, + int *array_len); +double * _dbus_demarshal_double_array (const DBusString *str, + int byte_order, + int pos, + int *new_pos, + int *array_len); +char ** _dbus_demarshal_string_array (const DBusString *str, + int byte_order, + int pos, + int *new_pos, + int *array_len); + + +dbus_bool_t _dbus_marshal_get_arg_end_pos (const DBusString *str, + int byte_order, + int pos, + int *end_pos); +dbus_bool_t _dbus_marshal_validate_arg (const DBusString *str, + int byte_order, + int pos, + int *end_pos); #endif /* DBUS_PROTOCOL_H */ |