comparison libpurple/protocols/msn/slpcall.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 44b4e8bd759b
children 7b2fdeb078cd
comparison
equal deleted inserted replaced
23625:7e2673925be6 23626:96e78c0fa32b
27 #include "internal.h" 27 #include "internal.h"
28 28
29 typedef struct _MsnSlpCall MsnSlpCall; 29 typedef struct _MsnSlpCall MsnSlpCall;
30 30
31 #include "slplink.h" 31 #include "slplink.h"
32 #include "slpsession.h"
33 32
34 /* The official client seems to timeout slp calls after 5 minutes */ 33 /* The official client seems to timeout slp calls after 5 minutes */
35 #define MSN_SLPCALL_TIMEOUT 300000 34 #define MSN_SLPCALL_TIMEOUT 300000
36 35
37 typedef enum 36 typedef enum
64 gboolean started; /**< A flag that states if this slpcall's session has 63 gboolean started; /**< A flag that states if this slpcall's session has
65 been initiated. */ 64 been initiated. */
66 65
67 void (*progress_cb)(MsnSlpCall *slpcall, 66 void (*progress_cb)(MsnSlpCall *slpcall,
68 gsize total_length, gsize len, gsize offset); 67 gsize total_length, gsize len, gsize offset);
69 void (*session_init_cb)(MsnSlpSession *slpsession); 68 void (*session_init_cb)(MsnSlpCall *slpcall);
70 69
71 /* Can be checksum, or smile */ 70 /* Can be checksum, or smile */
72 char *data_info; 71 char *data_info;
73 72
74 void *xfer; 73 void *xfer;