comparison 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
comparison
equal deleted inserted replaced
13199:d8f238864c88 13200:33bef17125c2
25 #define _MSN_HTTPCONN_H_ 25 #define _MSN_HTTPCONN_H_
26 26
27 typedef struct _MsnHttpConn MsnHttpConn; 27 typedef struct _MsnHttpConn MsnHttpConn;
28 28
29 #include "servconn.h" 29 #include "servconn.h"
30 #include "gaim_buffer.h"
30 31
31 /** 32 /**
32 * An HTTP Connection. 33 * An HTTP Connection.
33 */ 34 */
34 struct _MsnHttpConn 35 struct _MsnHttpConn
48 gboolean virgin; /**< The flag that states if this connection 49 gboolean virgin; /**< The flag that states if this connection
49 should specify the host (not gateway) to 50 should specify the host (not gateway) to
50 connect to. */ 51 connect to. */
51 52
52 char *host; /**< The HTTP gateway host. */ 53 char *host; /**< The HTTP gateway host. */
53 GList *queue; /**< The queue of data chunks to write. */
54 54
55 int fd; /**< The connection's file descriptor. */ 55 int fd; /**< The connection's file descriptor. */
56 int inpa; /**< The connection's input handler. */ 56 guint inpa; /**< The connection's input handler. */
57 57
58 char *rx_buf; /**< The receive buffer. */ 58 char *rx_buf; /**< The receive buffer. */
59 int rx_len; /**< The receive buffer lenght. */ 59 int rx_len; /**< The receive buffer length. */
60
61 GaimCircBuffer *tx_buf;
62 guint tx_handler;
60 }; 63 };
61 64
62 /** 65 /**
63 * Creates a new HTTP connection object. 66 * Creates a new HTTP connection object.
64 * 67 *