aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-23 22:37:39 -0500
committerNick Mathewson <nickm@torproject.org>2013-04-18 11:04:57 -0400
commitd2d5a7dabccf4b653434c0082df7d5c2f90b1575 (patch)
tree36b473efbbe33f3b332eee5e10c91d1a8d487b14 /src/or/dirserv.h
parent28ef450b2481770662dd9a8c240da22a0b4e50b7 (diff)
downloadtor-d2d5a7dabccf4b653434c0082df7d5c2f90b1575.tar
tor-d2d5a7dabccf4b653434c0082df7d5c2f90b1575.tar.gz
Remove some now-needless length defines
Diffstat (limited to 'src/or/dirserv.h')
-rw-r--r--src/or/dirserv.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/dirserv.h b/src/or/dirserv.h
index 6c2e372dc..a71ac7db0 100644
--- a/src/or/dirserv.h
+++ b/src/or/dirserv.h
@@ -29,14 +29,6 @@
/** Maximum allowable length of a version line in a networkstatus. */
#define MAX_V_LINE_LEN 128
-/** Length of "r Authority BadDirectory BadExit Exit Fast Guard HSDir Named
- * Running Stable Unnamed V2Dir Valid\n". */
-#define MAX_FLAG_LINE_LEN 96
-/** Length of "w" line for weighting. Currently at most
- * "w Bandwidth=<uint32t> Measured=<uint32t>\n" */
-#define MAX_WEIGHT_LINE_LEN (12+10+10+10+1)
-/** Maximum length of an exit policy summary line. */
-#define MAX_POLICY_LINE_LEN (3+MAX_EXITPOLICY_SUMMARY_LEN)
int connection_dirserv_flushed_some(dir_connection_t *conn);