libpurple/blistnodetypes.h

branch
soc.2013.gobjectification
changeset 34727
579e9a8dbd5f
parent 34722
32e636146d3f
child 34728
8efd73063ecf
--- a/libpurple/blistnodetypes.h	Tue Jul 09 14:21:39 2013 +0530
+++ b/libpurple/blistnodetypes.h	Tue Jul 09 15:42:36 2013 +0530
@@ -294,6 +294,16 @@
 PurplePresence *purple_buddy_get_presence(const PurpleBuddy *buddy);
 
 /**
+ * Updates a buddy's status.
+ *
+ * This should only be called from within Purple.
+ *
+ * @param buddy      The buddy whose status has changed.
+ * @param old_status The status from which we are changing.
+ */
+void purple_blist_update_buddy_status(PurpleBuddy *buddy, PurpleStatus *old_status);
+
+/**
  * Gets the media caps from a buddy.
  *
  * @param buddy The buddy.
@@ -321,10 +331,10 @@
 /**
  * Sets the server alias for a buddy.
  *
- * @param buddy         The buddy.
- * @param server_alias  The server alias to be set.
+ * @param buddy  The buddy.
+ * @param alias  The server alias to be set.
  */
-void purple_buddy_set_server_alias(PurpleBuddy *buddy, const char *server_alias);
+void purple_buddy_set_server_alias(PurpleBuddy *buddy, const char *alias);
 
 /**
  * Gets the server alias for a buddy.
@@ -448,6 +458,16 @@
  */
 void purple_contact_invalidate_priority_buddy(PurpleContact *contact);
 
+/**
+ * Merges two contacts
+ *
+ * All of the buddies from source will be moved to target
+ *
+ * @param source  The contact to merge
+ * @param node    The place to merge to (a buddy or contact)
+ */
+void purple_blist_merge_contact(PurpleContact *source, PurpleBListNode *node);
+
 /*@}*/
 
 /**************************************************************************/

mercurial