Mercurial > pidgin.yaz
diff libpurple/protocols/myspace/myspace.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 | aa8e70fa1edc |
children | bfda36bd957a |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Sat Jun 02 21:46:22 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Sun Jun 03 01:28:59 2007 +0000 @@ -159,7 +159,7 @@ gboolean msim_send_raw(MsimSession *session, const gchar *msg); void msim_login(PurpleAccount *acct); -int msim_login_challenge(MsimSession *session, MsimMessage *msg); +gboolean msim_login_challenge(MsimSession *session, MsimMessage *msg); gchar *msim_compute_login_response(gchar nonce[2 * NONCE_SIZE], gchar *email, gchar *password, guint *response_len); @@ -177,13 +177,13 @@ unsigned int msim_send_typing(PurpleConnection *gc, const char *name, PurpleTypingState state); -int msim_process_reply(MsimSession *session, MsimMessage *msg); -int msim_process(PurpleConnection *gc, MsimMessage *msg); +gboolean msim_process_reply(MsimSession *session, MsimMessage *msg); +gboolean msim_process(PurpleConnection *gc, MsimMessage *msg); -int msim_error(MsimSession *session, MsimMessage *msg); +gboolean msim_error(MsimSession *session, MsimMessage *msg); void msim_status_cb(MsimSession *session, MsimMessage *userinfo, gpointer data); -int msim_status(MsimSession *session, MsimMessage *msg); +gboolean msim_status(MsimSession *session, MsimMessage *msg); void msim_input_cb(gpointer gc_uncasted, gint source, PurpleInputCondition cond); void msim_connect_cb(gpointer data, gint source,