summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-05 14:48:29 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-05 14:48:29 -0400
commit24c0f83185a9c5dff080b250d9a8e15bbf8e1a88 (patch)
treed68b467bb0294fa23a8a1aebc12b6a479caa41c1 /src/common
parent0e4b1781f4f0135c925cd728a09cca7d7959b961 (diff)
downloadtor-24c0f83185a9c5dff080b250d9a8e15bbf8e1a88.tar.gz
tor-24c0f83185a9c5dff080b250d9a8e15bbf8e1a88.zip
Move socks5_status.h to src/lib/net
There might be a better place for it in the long run, but this is the best I can think of for now.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/include.am1
-rw-r--r--src/common/socks5_status.h22
2 files changed, 0 insertions, 23 deletions
diff --git a/src/common/include.am b/src/common/include.am
index d352a46de9..565482bcf9 100644
--- a/src/common/include.am
+++ b/src/common/include.am
@@ -52,7 +52,6 @@ COMMONHEADERS = \
src/common/address_set.h \
src/common/compat_libevent.h \
src/common/procmon.h \
- src/common/socks5_status.h \
src/common/timers.h \
src/common/token_bucket.h \
src/common/util.h \
diff --git a/src/common/socks5_status.h b/src/common/socks5_status.h
deleted file mode 100644
index 74b9c91023..0000000000
--- a/src/common/socks5_status.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright (c) 2003-2004, Roger Dingledine
- * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
- * Copyright (c) 2007-2018, The Tor Project, Inc. */
-/* See LICENSE for licensing information */
-
-#ifndef TOR_SOCKS5_STATUS_H
-#define TOR_SOCKS5_STATUS_H
-
-/** 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;
-
-#endif