summaryrefslogtreecommitdiff
path: root/src/or/reasons.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 10:59:23 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 12:21:52 -0400
commit31897a256c129c12c5a406e630d0d4aaeb7728fd (patch)
tree568a062eddcad53272ca1d6156985a7d69828175 /src/or/reasons.h
parent080069c7b37d398447fe63bb3941d4412587978c (diff)
downloadtor-31897a256c129c12c5a406e630d0d4aaeb7728fd.tar.gz
tor-31897a256c129c12c5a406e630d0d4aaeb7728fd.zip
Extract socks5_status_t
I'm not sure of the best place to put this header long-term, since both or/*.c and tools/tor-resolve.c use it.
Diffstat (limited to 'src/or/reasons.h')
-rw-r--r--src/or/reasons.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/reasons.h b/src/or/reasons.h
index d9516a3e2b..8f4d7c6bcc 100644
--- a/src/or/reasons.h
+++ b/src/or/reasons.h
@@ -12,6 +12,8 @@
#ifndef TOR_REASONS_H
#define TOR_REASONS_H
+#include "common/socks5_status.h"
+
const char *stream_end_reason_to_control_string(int reason);
const char *stream_end_reason_to_string(int reason);
socks5_reply_status_t stream_end_reason_to_socks5_response(int reason);
@@ -29,4 +31,3 @@ const char *bandwidth_weight_rule_to_string(enum bandwidth_weight_rule_t rule);
const char *end_reason_to_http_connect_response_line(int endreason);
#endif /* !defined(TOR_REASONS_H) */
-