From bc86794f23fa538a405813fb61b531c2eacc9ae1 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 31 Mar 2003 04:01:00 +0000 Subject: 2003-03-30 Havoc Pennington * bus/config-parser.c: hacking * dbus/dbus-memory.c: don't use DBusList for the list of stuff to shut down, since it could cause weirdness with the DBusList lock * dbus/dbus-list.c (_dbus_list_test): add tests for the link-oriented stack routines (alloc_link): free the mempool if the first alloc from it fails * dbus/dbus-mempool.c (struct DBusMemBlock): fix alignment issue * dbus/dbus-string.c (UNICODE_VALID): sync new version of this from GLib (_dbus_string_skip_white): new * doc/config-file.txt (Elements): add --- dbus/dbus-string.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'dbus/dbus-string.h') diff --git a/dbus/dbus-string.h b/dbus/dbus-string.h index 1f7d4919..3a517e94 100644 --- a/dbus/dbus-string.h +++ b/dbus/dbus-string.h @@ -81,6 +81,12 @@ dbus_bool_t _dbus_string_steal_data_len (DBusString *str, char **data_return, int start, int len); +dbus_bool_t _dbus_string_copy_data (const DBusString *str, + char **data_return); +dbus_bool_t _dbus_string_copy_data_len (const DBusString *str, + char **data_return, + int start, + int len); int _dbus_string_get_length (const DBusString *str); @@ -175,6 +181,10 @@ void _dbus_string_skip_blank (const DBusString *str, int start, int *end); +void _dbus_string_skip_white (const DBusString *str, + int start, + int *end); + dbus_bool_t _dbus_string_equal (const DBusString *a, const DBusString *b); -- cgit