diff options
author | Havoc Pennington <hp@redhat.com> | 2003-02-01 04:58:16 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-02-01 04:58:16 +0000 |
commit | e0ffb6eb1472e6766d79346e1fae418c129ef536 (patch) | |
tree | 4fddaa6743cfcae6ef5ccac4105d4242d2408773 /dbus/dbus-string.h | |
parent | d8f9c46bf873fe03dbb1db100f3c6d02b2d6c847 (diff) |
2003-02-01 Havoc Pennington <hp@pobox.com>
* dbus/dbus-break-loader.c (main): new program to find messages
that break the loader.
* dbus/dbus-sysdeps.c (_dbus_string_append_uint): new function
* dbus/dbus-sysdeps.c (_dbus_string_save_to_file): new function
* dbus/dbus-string.c (_dbus_string_set_byte): new
Diffstat (limited to 'dbus/dbus-string.h')
-rw-r--r-- | dbus/dbus-string.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dbus/dbus-string.h b/dbus/dbus-string.h index 641eaf5e..54297ee7 100644 --- a/dbus/dbus-string.h +++ b/dbus/dbus-string.h @@ -66,8 +66,14 @@ void _dbus_string_get_const_data_len (const DBusString *str, const char **data_return, int start, int len); -char _dbus_string_get_byte (const DBusString *str, +void _dbus_string_set_byte (DBusString *str, + int i, + unsigned char byte); +unsigned char _dbus_string_get_byte (const DBusString *str, int start); +dbus_bool_t _dbus_string_insert_byte (DBusString *str, + int i, + unsigned char byte); dbus_bool_t _dbus_string_steal_data (DBusString *str, char **data_return); dbus_bool_t _dbus_string_steal_data_len (DBusString *str, @@ -93,6 +99,8 @@ dbus_bool_t _dbus_string_append_len (DBusString *str, int len); dbus_bool_t _dbus_string_append_int (DBusString *str, long value); +dbus_bool_t _dbus_string_append_uint (DBusString *str, + unsigned long value); dbus_bool_t _dbus_string_append_double (DBusString *str, double value); dbus_bool_t _dbus_string_append_byte (DBusString *str, |