Mercurial > pidgin.yaz
diff libpurple/protocols/myspace/myspace.h @ 17357:176b1ba4bafe
Remove 'flags' from send_im_cb_struct - it was never needed.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Mon, 04 Jun 2007 02:31:02 +0000 |
parents | c2208b64bffb |
children | ceba4fc06c41 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Mon Jun 04 02:19:51 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Mon Jun 04 02:31:02 2007 +0000 @@ -133,7 +133,7 @@ /* Callback function pointer type for when a user's information is received, * initiated from a user lookup. */ typedef void (*MSIM_USER_LOOKUP_CB)(MsimSession *session, MsimMessage *userinfo, - gpointer data); + gpointer data); /* Passed to MSIM_USER_LOOKUP_CB for msim_send_im_cb - called when * user information is available, ready to send a message. */ @@ -141,10 +141,8 @@ { gchar *who; gchar *message; - PurpleMessageFlags flags; } send_im_cb_struct; - /* Functions */ gboolean msim_load(PurplePlugin *plugin); GList *msim_status_types(PurpleAccount *acct); @@ -164,14 +162,14 @@ gchar *email, gchar *password, guint *response_len); -int msim_send_im(PurpleConnection *gc, const char *who, - const char *message, PurpleMessageFlags flags); +int msim_send_im(PurpleConnection *gc, const char *who, const char *message, + PurpleMessageFlags flags); int msim_send_im_by_userid(MsimSession *session, const gchar *userid, - const gchar *message, PurpleMessageFlags flags); -void msim_send_im_by_userid_cb(MsimSession *session, - MsimMessage *userinfo, gpointer data); + const gchar *message); +void msim_send_im_by_userid_cb(MsimSession *session, MsimMessage *userinfo, gpointer data); void msim_incoming_im_cb(MsimSession *session, MsimMessage *userinfo, - gpointer data); + gpointer data); + int msim_incoming_im(MsimSession *session, MsimMessage *msg); int msim_incoming_action(MsimSession *session, MsimMessage *msg);