comparison libpurple/protocols/msn/slplink.h @ 23626:96e78c0fa32b

Get rid of MsnSlpSession entirely. It only seems to link to MsnSlpCall and then copy some data from it. Fixes #1671.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 01 Aug 2008 02:04:36 +0000
parents 27f7fae4a361
children c6c714b7841d
comparison
equal deleted inserted replaced
23625:7e2673925be6 23626:96e78c0fa32b
51 int slp_seq_id; 51 int slp_seq_id;
52 52
53 MsnDirectConn *directconn; 53 MsnDirectConn *directconn;
54 54
55 GList *slp_calls; 55 GList *slp_calls;
56 GList *slp_sessions;
57 GList *slp_msgs; 56 GList *slp_msgs;
58 57
59 GQueue *slp_msg_queue; 58 GQueue *slp_msg_queue;
60 }; 59 };
61 60
72 * @return An MsnSlpLink for the given user. One will be created if 71 * @return An MsnSlpLink for the given user. One will be created if
73 * it does not already exist. 72 * it does not already exist.
74 */ 73 */
75 MsnSlpLink *msn_session_get_slplink(MsnSession *session, const char *username); 74 MsnSlpLink *msn_session_get_slplink(MsnSession *session, const char *username);
76 75
77 MsnSlpSession *msn_slplink_find_slp_session(MsnSlpLink *slplink,
78 long session_id);
79 void msn_slplink_add_slpcall(MsnSlpLink *slplink, MsnSlpCall *slpcall); 76 void msn_slplink_add_slpcall(MsnSlpLink *slplink, MsnSlpCall *slpcall);
80 void msn_slplink_remove_slpcall(MsnSlpLink *slplink, MsnSlpCall *slpcall); 77 void msn_slplink_remove_slpcall(MsnSlpLink *slplink, MsnSlpCall *slpcall);
81 MsnSlpCall *msn_slplink_find_slp_call(MsnSlpLink *slplink, 78 MsnSlpCall *msn_slplink_find_slp_call(MsnSlpLink *slplink,
82 const char *id); 79 const char *id);
83 MsnSlpCall *msn_slplink_find_slp_call_with_session_id(MsnSlpLink *slplink, long id); 80 MsnSlpCall *msn_slplink_find_slp_call_with_session_id(MsnSlpLink *slplink, long id);