libpurple/internal.h

changeset 35307
2af82f31e6a8
parent 35178
7c775624f964
child 35377
9f8e83051c26
child 35393
00f876b129bc
child 37025
12d925ea1e2f
--- a/libpurple/internal.h	Wed Jan 29 13:41:33 2014 +0100
+++ b/libpurple/internal.h	Thu Jan 30 02:52:18 2014 +0530
@@ -264,6 +264,21 @@
                                            PurpleChatConversation *chat);
 
 /**
+ * Updates the conversation cache to use a new conversation name and/or
+ * account. This function only updates the conversation cache. It is the
+ * caller's responsibility to actually update the conversation.
+ *
+ * @note This function should only be called by purple_conversation_set_name()
+ *       and purple_conversation_set_account() in conversation.c.
+ *
+ * @param conv    The conversation.
+ * @param name    The new name. If no change, use @c NULL.
+ * @param account The new account. If no change, use @c NULL.
+ */
+void _purple_conversations_update_cache(PurpleConversation *conv,
+		const char *name, PurpleAccount *account);
+
+/**
  * Returns the primitive scores array from status.c.
  *
  * @note This function should only be called by

mercurial