Mercurial > pidgin
diff src/protocols/msn/httpconn.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 | bcfea6c3d5c9 |
children | 8754a0fe2297 |
line wrap: on
line diff
--- a/src/protocols/msn/httpconn.h Thu Feb 09 04:14:54 2006 +0000 +++ b/src/protocols/msn/httpconn.h Thu Feb 09 04:17:56 2006 +0000 @@ -27,6 +27,7 @@ typedef struct _MsnHttpConn MsnHttpConn; #include "servconn.h" +#include "gaim_buffer.h" /** * An HTTP Connection. @@ -50,13 +51,15 @@ connect to. */ char *host; /**< The HTTP gateway host. */ - GList *queue; /**< The queue of data chunks to write. */ int fd; /**< The connection's file descriptor. */ - int inpa; /**< The connection's input handler. */ + guint inpa; /**< The connection's input handler. */ char *rx_buf; /**< The receive buffer. */ - int rx_len; /**< The receive buffer lenght. */ + int rx_len; /**< The receive buffer length. */ + + GaimCircBuffer *tx_buf; + guint tx_handler; }; /**