diff libpurple/protocols/myspace/message.h @ 17348:d8903e1320a9

Previously, the return value of the processing function and msim_process() told msim_input_cb() whether to free the MsimMessage * or not, but now it is always freed. Functions can use msim_msg_clone() to keep a copy around if they need it. Message processing functions called from msim_process(), and msim_process() itself, now return TRUE if successful, FALSE if not successful.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sun, 03 Jun 2007 01:28:59 +0000
parents 37499e926a42
children 86b4862b7a02
line wrap: on
line diff
--- a/libpurple/protocols/myspace/message.h	Sat Jun 02 21:46:22 2007 +0000
+++ b/libpurple/protocols/myspace/message.h	Sun Jun 03 01:28:59 2007 +0000
@@ -45,6 +45,7 @@
 #define MSIM_TYPE_LIST			'l'
 
 MsimMessage *msim_msg_new(void);
+MsimMessage *msim_msg_clone(MsimMessage *old);
 void msim_msg_free(MsimMessage *msg);
 MsimMessage *msim_msg_append(MsimMessage *msg, gchar *name, MsimMessageType type, gpointer data);
 gchar *msim_msg_debug_string(MsimMessage *msg);