Mercurial > pidgin
comparison src/protocols/msn/servconn.h @ 9158:c30d81b4dd22
[gaim-migrate @ 9942]
Patch from Felipe Contreras to sync our MSN prpl with what's in his tree.
He says this may fix a couple bugs, but the important thing is the
restructuring of how MsnMessages work. Lots of style changes and other
stuff as well.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 01 Jun 2004 06:42:20 +0000 |
parents | bbd8cdaf0ad5 |
children | 502707ca1836 |
comparison
equal
deleted
inserted
replaced
9157:bd1ea0a717d7 | 9158:c30d81b4dd22 |
---|---|
38 MSN_SERVER_SB, | 38 MSN_SERVER_SB, |
39 MSN_SERVER_NX, | 39 MSN_SERVER_NX, |
40 MSN_SERVER_DC, | 40 MSN_SERVER_DC, |
41 MSN_SERVER_HT | 41 MSN_SERVER_HT |
42 | 42 |
43 } MsnServerType; | 43 } MsnServConnType; |
44 | 44 |
45 struct _MsnServConn | 45 struct _MsnServConn |
46 { | 46 { |
47 MsnServerType type; | 47 MsnServConnType type; |
48 MsnSession *session; | 48 MsnSession *session; |
49 MsnCmdProc *cmdproc; | 49 MsnCmdProc *cmdproc; |
50 | 50 |
51 gboolean connected; | 51 gboolean connected; |
52 gboolean processing; | 52 gboolean processing; |
68 void (*disconnect_cb)(MsnServConn *servconn); | 68 void (*disconnect_cb)(MsnServConn *servconn); |
69 | 69 |
70 void *data; | 70 void *data; |
71 }; | 71 }; |
72 | 72 |
73 MsnServConn *msn_servconn_new(MsnSession *session, MsnServerType type); | 73 MsnServConn *msn_servconn_new(MsnSession *session, MsnServConnType type); |
74 | 74 |
75 void msn_servconn_destroy(MsnServConn *servconn); | 75 void msn_servconn_destroy(MsnServConn *servconn); |
76 | 76 |
77 gboolean msn_servconn_connect(MsnServConn *servconn, const char *host, | 77 gboolean msn_servconn_connect(MsnServConn *servconn, const char *host, |
78 int port); | 78 int port); |