aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-08-25 21:02:22 +0000
committerRoger Dingledine <arma@torproject.org>2008-08-25 21:02:22 +0000
commitc5fef3c57f33b4eff0bbe0279f79cbbe245f5992 (patch)
treed1d4fce7bea9e3144d2ace50f1d3e979c6e48d07 /src/or/or.h
parent8a9b6204ca91b745d0307b2272fa1108d4057601 (diff)
downloadtor-c5fef3c57f33b4eff0bbe0279f79cbbe245f5992.tar.gz
tor-c5fef3c57f33b4eff0bbe0279f79cbbe245f5992.zip
commit jake's patch to include strings with socks5 error numbers
svn:r16657
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/or/or.h b/src/or/or.h
index ce73d7719e..ab7e98d883 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -718,19 +718,6 @@ typedef enum {
/** Number of bytes in a SOCKS4 header. */
#define SOCKS4_NETWORK_LEN 8
-/** Specified SOCKS5 status codes. */
-typedef enum {
- SOCKS5_SUCCEEDED = 0x00,
- SOCKS5_GENERAL_ERROR = 0x01,
- SOCKS5_NOT_ALLOWED = 0x02,
- SOCKS5_NET_UNREACHABLE = 0x03,
- SOCKS5_HOST_UNREACHABLE = 0x04,
- SOCKS5_CONNECTION_REFUSED = 0x05,
- SOCKS5_TTL_EXPIRED = 0x06,
- SOCKS5_COMMAND_NOT_SUPPORTED = 0x07,
- SOCKS5_ADDRESS_TYPE_NOT_SUPPORTED = 0x08,
-} socks5_reply_status_t;
-
/*
* Relay payload:
* Relay command [1 byte]