12 #ifndef TOR_PROTO_SOCKS_H
13 #define TOR_PROTO_SOCKS_H
20 #define socks_request_free(req) \
21 FREE_AND_NULL(socks_request_t, socks_request_free_, (req))
23 int log_sockstype,
int safe_socks);
int fetch_from_buf_socks(struct buf_t *buf, socks_request_t *req, int log_sockstype, int safe_socks)
struct socks_request_t * socks_request_new(void)
void socks_request_free_(struct socks_request_t *req)
int fetch_from_buf_socks_client(buf_t *buf, int state, char **reason)