diff libpurple/buddyicon.h @ 16613:dbd0a01a9a81

The OSCAR timestamp stuff.
author Richard Laager <rlaager@wiktel.com>
date Sun, 29 Apr 2007 01:04:19 +0000
parents 24bbd7e46bfe
children 56823a55581a
line wrap: on
line diff
--- a/libpurple/buddyicon.h	Sun Apr 29 01:01:51 2007 +0000
+++ b/libpurple/buddyicon.h	Sun Apr 29 01:04:19 2007 +0000
@@ -261,6 +261,19 @@
                                     guchar *icon_data, size_t icon_len);
 
 /**
+ * Returns the timestamp of when the icon was set.
+ *
+ * This is intended for use in protocols that require a timestamp for
+ * buddy icon update reasons.
+ *
+ * @param account The account
+ *
+ * @return The time the icon was set, or 0 if an error occurred.
+ */
+time_t
+purple_buddy_icons_get_account_icon_timestamp(PurpleAccount *account);
+
+/**
  * Returns the custom buddy icon image for a contact.
  *
  * The caller owns a reference to the image in the store, and must dereference