diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-08-09 11:40:28 -0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 12:31:13 -0400 |
commit | ddcb59bb70457e203247931aaad3a3ff8b923f97 (patch) | |
tree | 803eac2d836936d44043b7793f4e6706208504cd /src/or/connection.h | |
parent | 5279036148ca158f7c60f793f401604060b1c1ba (diff) | |
download | tor-ddcb59bb70457e203247931aaad3a3ff8b923f97.tar.gz tor-ddcb59bb70457e203247931aaad3a3ff8b923f97.zip |
Fix more remaining users of inbuf/outbuf to handle bufferevents instead.
Diffstat (limited to 'src/or/connection.h')
-rw-r--r-- | src/or/connection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/connection.h b/src/or/connection.h index af21481156..4d269d649a 100644 --- a/src/or/connection.h +++ b/src/or/connection.h @@ -65,6 +65,10 @@ int connection_handle_read(connection_t *conn); int connection_fetch_from_buf(char *string, size_t len, connection_t *conn); int connection_fetch_from_buf_line(connection_t *conn, char *data, size_t *data_len); +int connection_fetch_from_buf_http(connection_t *conn, + char **headers_out, size_t max_headerlen, + char **body_out, size_t *body_used, + size_t max_bodylen, int force_complete); int connection_wants_to_flush(connection_t *conn); int connection_outbuf_too_full(connection_t *conn); |