Mercurial > pidgin
comparison src/protocols/msn/directconn.h @ 9193:502707ca1836
[gaim-migrate @ 9988]
Patch by Felipe Contreras to add MSN file transfer and buddy icons. Please
test and report any bugs!
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 06 Jun 2004 02:39:08 +0000 |
parents | |
children | ab6636c5a136 |
comparison
equal
deleted
inserted
replaced
9192:5655dcd94d0f | 9193:502707ca1836 |
---|---|
1 #ifndef _MSN_DIRECTCONN_H_ | |
2 #define _MSN_DIRECTCONN_H_ | |
3 | |
4 typedef struct _MsnDirectConn MsnDirectConn; | |
5 | |
6 #include "slplink.h" | |
7 #include "slp.h" | |
8 #include "msg.h" | |
9 | |
10 struct _MsnDirectConn | |
11 { | |
12 MsnSlpLink *slplink; | |
13 MsnSlpCall *initial_call; | |
14 | |
15 gboolean acked; | |
16 | |
17 char *nonce; | |
18 | |
19 int fd; | |
20 | |
21 int port; | |
22 int inpa; | |
23 | |
24 int c; | |
25 }; | |
26 | |
27 MsnDirectConn *msn_directconn_new(MsnSlpLink *slplink); | |
28 gboolean msn_directconn_connect(MsnDirectConn *directconn, | |
29 const char *host, int port); | |
30 void msn_directconn_listen(MsnDirectConn *directconn); | |
31 void msn_directconn_send_msg(MsnDirectConn *directconn, MsnMessage *msg); | |
32 void msn_directconn_parse_nonce(MsnDirectConn *directconn, const char *nonce); | |
33 void msn_directconn_destroy(MsnDirectConn *directconn); | |
34 void msn_directconn_send_handshake(MsnDirectConn *directconn); | |
35 | |
36 #endif /* _MSN_DIRECTCONN_H_ */ |