summaryrefslogtreecommitdiff
path: root/libpurple/buddyicon.h
diff options
context:
space:
mode:
authorRichard Laager <rlaager@pidgin.im>2007-04-29 01:04:19 +0000
committerRichard Laager <rlaager@pidgin.im>2007-04-29 01:04:19 +0000
commitbb161d7fcf62e291912103119645605abd48734e (patch)
tree2992cae58424cb85b3cb70d8eab6af4877c72bf7 /libpurple/buddyicon.h
parentfa7015f9491b1db2a3f1dea05d458c45d69953f8 (diff)
downloadpidgin-bb161d7fcf62e291912103119645605abd48734e.tar.gz
The OSCAR timestamp stuff.
Diffstat (limited to 'libpurple/buddyicon.h')
-rw-r--r--libpurple/buddyicon.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libpurple/buddyicon.h b/libpurple/buddyicon.h
index a78fdd3fdc..33e4f8e7ab 100644
--- a/libpurple/buddyicon.h
+++ b/libpurple/buddyicon.h
@@ -261,6 +261,19 @@ purple_buddy_icons_set_account_icon(PurpleAccount *account,
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