Lines Matching full:conn
56 typedef void (*ProxyConnectionFreeFunc) ( ProxyConnection* conn );
59 typedef void (*ProxyConnectionSelectFunc) ( ProxyConnection* conn,
63 typedef void (*ProxyConnectionPollFunc) ( ProxyConnection* conn,
96 proxy_connection_init( ProxyConnection* conn,
105 proxy_connection_done( ProxyConnection* conn );
112 proxy_connection_free( ProxyConnection* conn,
124 * starting from offset conn->str_pos in the buffer
130 * on exit, conn->str_sent contains the number of bytes
131 * that were really sent. conn->str_pos will be incremented
132 * by conn->str_sent as well.
135 * performs a proxy_connection_rewind which sets conn->str_pos
139 proxy_connection_send( ProxyConnection* conn, int fd );
141 /* try to read 'wanted' bytes into conn->str from a socket
147 * on exit, the amount of data received is in conn->str_recv
150 proxy_connection_receive( ProxyConnection* conn, int fd, int wanted );
161 proxy_connection_receive_line( ProxyConnection* conn, int fd );
165 proxy_connection_rewind( ProxyConnection* conn );