comparison src/protocols/msn/nexus.h @ 13200:33bef17125c2

[gaim-migrate @ 15563] This is the soon-to-be-infamous nonblocking network activity patch that I've been working on. Feel free to yell at me if this makes you unhappy. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 09 Feb 2006 04:17:56 +0000
parents ab6636c5a136
children 995aea35b05c
comparison
equal deleted inserted replaced
13199:d8f238864c88 13200:33bef17125c2
24 #ifndef _MSN_NEXUS_H_ 24 #ifndef _MSN_NEXUS_H_
25 #define _MSN_NEXUS_H_ 25 #define _MSN_NEXUS_H_
26 26
27 typedef struct _MsnNexus MsnNexus; 27 typedef struct _MsnNexus MsnNexus;
28 28
29 #include "nexus.h"
30
31 struct _MsnNexus 29 struct _MsnNexus
32 { 30 {
33 MsnSession *session; 31 MsnSession *session;
34 32
35 char *login_host; 33 char *login_host;
36 char *login_path; 34 char *login_path;
37 GHashTable *challenge_data; 35 GHashTable *challenge_data;
36 GaimSslConnection *gsc;
37
38 guint input_handler;
39
40 char *write_buf;
41 gsize written_len;
42 GaimInputFunction written_cb;
43
44 char *read_buf;
45 gsize read_len;
38 }; 46 };
39 47
40 void msn_nexus_connect(MsnNexus *nexus); 48 void msn_nexus_connect(MsnNexus *nexus);
41 MsnNexus *msn_nexus_new(MsnSession *session); 49 MsnNexus *msn_nexus_new(MsnSession *session);
42 void msn_nexus_destroy(MsnNexus *nexus); 50 void msn_nexus_destroy(MsnNexus *nexus);