libpurple/internal.h

branch
soc.2013.gobjectification.plugins
changeset 37153
c0eccc6696da
parent 37148
50f361d39a1e
parent 36116
e1f9a50effbc
child 37901
41e45e18f3b2
--- a/libpurple/internal.h	Thu Jun 12 22:21:37 2014 +0530
+++ b/libpurple/internal.h	Sun Jun 15 03:46:35 2014 +0530
@@ -393,6 +393,22 @@
 void
 _purple_socket_uninit(void);
 
+/**
+ * _purple_message_init: (skip)
+ *
+ * Initializes the #PurpleMessage subsystem.
+ */
+void
+_purple_message_init(void);
+
+/**
+ * _purple_message_uninit: (skip)
+ *
+ * Uninitializes the #PurpleMessage subsystem.
+ */
+void
+_purple_message_uninit(void);
+
 void
 _purple_assert_connection_is_valid(PurpleConnection *gc,
 	const gchar *file, int line);
@@ -400,10 +416,7 @@
 /**
  * _purple_conversation_write_common:
  * @conv:    The conversation.
- * @who:     The user who sent the message.
- * @message: The message.
- * @flags:   The message flags.
- * @mtime:   The time the message was sent.
+ * @msg:     The message.
  *
  * Writes to a conversation window.
  *
@@ -413,13 +426,9 @@
  * sound playback, etc. depending on whether the conversation is a chat or an
  * IM.
  *
- * This can be used to write generic messages, such as "so and so closed
- * the conversation window."
- *
  * See purple_conversation_write_message().
  */
 void
-_purple_conversation_write_common(PurpleConversation *conv, const gchar *who,
-	const gchar *message, PurpleMessageFlags flags, time_t mtime);
+_purple_conversation_write_common(PurpleConversation *conv, PurpleMessage *msg);
 
 #endif /* _PURPLE_INTERNAL_H_ */

mercurial