mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 15:42:34 +01:00
This commit does not change the implementation of any function: it only moves code and adds new includes as necessary. Part of #23149.
20 lines
645 B
C
20 lines
645 B
C
/* Copyright (c) 2001 Matej Pfajfar.
|
|
* Copyright (c) 2001-2004, Roger Dingledine.
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
|
* Copyright (c) 2007-2017, The Tor Project, Inc. */
|
|
/* See LICENSE for licensing information */
|
|
|
|
#ifndef TOR_PROTO_SOCKS_H
|
|
#define TOR_PROTO_SOCKS_H
|
|
|
|
struct socks_request_t;
|
|
struct buf_t;
|
|
|
|
struct socks_request_t *socks_request_new(void);
|
|
void socks_request_free(struct socks_request_t *req);
|
|
int fetch_from_buf_socks(struct buf_t *buf, socks_request_t *req,
|
|
int log_sockstype, int safe_socks);
|
|
int fetch_from_buf_socks_client(buf_t *buf, int state, char **reason);
|
|
|
|
#endif
|
|
|