#include <glib-object.h>

typedef GArray TestKeyringAttributeList;


/**
 * test_keyring_item_get_attributes_sync:
 * @keyring: (allow-none): The name of the keyring in which the item exists, or
 *           %NULL for the default keyring.
 * @id: The id of the item
 * @attributes: (out) (type GArray) (element-type int): The location to return a
 *     pointer to the attribute list.
 *
 * Get all attributes for an item.
 *
 * A #GnomeKeyringAttributeList will be returned in @attributes. This should be
 * freed using gnome_keyring_attribute_list_free().
 *
 * For an asynchronous version of this function see
gnome_keyring_item_get_attributes().
 *
 * Return value: %GNOME_KEYRING_RESULT_OK if the operation was succcessful or
 * an error result otherwise.
 **/
int
test_keyring_item_get_attributes_sync (const char                 *keyring,
                                       guint32                     id,
                                       TestKeyringAttributeList **attributes);

