aboutsummaryrefslogtreecommitdiff
path: root/src/or/buffers.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-08-26 11:55:36 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-27 12:31:14 -0400
commit9796b9bfa6a757780d6185547e4baf739c53cdac (patch)
tree8e4b805c838f42d8d99a3c662d75f6849b296f4f /src/or/buffers.h
parentc74a4ab515990701800755b88c097f8239cc3811 (diff)
downloadtor-9796b9bfa6a757780d6185547e4baf739c53cdac.tar
tor-9796b9bfa6a757780d6185547e4baf739c53cdac.tar.gz
Implement SOCKS-client support for bufferevents
Diffstat (limited to 'src/or/buffers.h')
-rw-r--r--src/or/buffers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/buffers.h b/src/or/buffers.h
index 4f565ddce..64e1f55c5 100644
--- a/src/or/buffers.h
+++ b/src/or/buffers.h
@@ -53,6 +53,8 @@ int fetch_var_cell_from_evbuffer(struct evbuffer *buf, var_cell_t **out,
int linkproto);
int fetch_from_evbuffer_socks(struct evbuffer *buf, socks_request_t *req,
int log_sockstype, int safe_socks);
+int fetch_from_evbuffer_socks_client(struct evbuffer *buf, int state,
+ char **reason);
int fetch_from_evbuffer_http(struct evbuffer *buf,
char **headers_out, size_t max_headerlen,
char **body_out, size_t *body_used, size_t max_bodylen,