diff options
author | Havoc Pennington <hp@redhat.com> | 2003-02-22 17:29:48 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-02-22 17:29:48 +0000 |
commit | 6c07098c5ec68e78320a6f07e4c9e141a95729ed (patch) | |
tree | f57c665728bb0efaf363701b6e9b37758de136c6 /dbus/dbus-message.c | |
parent | 92f7d50b3b420670732a55bf15f7b343b2ce9fe6 (diff) |
2003-02-22 Havoc Pennington <hp@pobox.com>
* dbus/dbus-message.c (dbus_message_iter_get_string_array):
(dbus_message_iter_get_byte_array): Fix up doxygen warnings
* dbus/dbus-sha.c: add implementation of SHA-1 algorithm
* dbus/test/data/sha-1: add US government test suite for SHA-1
Diffstat (limited to 'dbus/dbus-message.c')
-rw-r--r-- | dbus/dbus-message.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c index c7a33c23..7feee745 100644 --- a/dbus/dbus-message.c +++ b/dbus/dbus-message.c @@ -1885,6 +1885,7 @@ dbus_message_iter_get_double_array (DBusMessageIter *iter, * to a byte array prior to using this function. * * @param iter the iterator + * @param value return location for array values * @param len return location for length of byte array * @returns the byte array */ @@ -1909,7 +1910,13 @@ dbus_message_iter_get_byte_array (DBusMessageIter *iter, * Note that you need to check that the iterator points * to a byte array prior to using this function. * + * The returned value is a #NULL-terminated array of strings. + * Each string is a separate malloc block, and the array + * itself is a malloc block. You can free this type of + * string array with dbus_free_string_array(). + * * @param iter the iterator + * @param value return location for string values * @param len return location for length of byte array * @returns the byte array */ |