diff options
author | dequis <dx@dxzone.com.ar> | 2015-03-02 00:43:04 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-04-10 14:10:40 -0300 |
commit | cfeadc32ba56ce1a9bede1077f392c47d30225b8 (patch) | |
tree | 734dd2aa2b087c32d78c769e0fd67d9db21c72f9 /protocols/msn/msn.h | |
parent | d5503584fb11fbe8b4eec3baba6fb6756c1fc4c0 (diff) |
msn: start of the http gateway code
Diffstat (limited to 'protocols/msn/msn.h')
-rw-r--r-- | protocols/msn/msn.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/protocols/msn/msn.h b/protocols/msn/msn.h index a3894242..2669a736 100644 --- a/protocols/msn/msn.h +++ b/protocols/msn/msn.h @@ -123,6 +123,25 @@ typedef enum { MSN_EMAIL_UNVERIFIED = 16, } msn_flags_t; +struct msn_gw { + char *last_host; + int port; + gboolean ssl; + + char *session_id; + + GByteArray *in; + GByteArray *out; + + int poll_timeout; + + b_event_handler callback; + gpointer data; + + gboolean open; + gboolean waiting; +}; + struct msn_data { int fd, inpa; int rxlen; @@ -151,6 +170,9 @@ struct msn_data { it to the MSNP server. */ GTree *domaintree; int adl_todo; + + gboolean is_http; + struct msn_gw *gw; }; struct msn_away_state { |