aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-23 02:46:40 -0500
committerNick Mathewson <nickm@torproject.org>2013-04-18 11:04:57 -0400
commit28ef450b2481770662dd9a8c240da22a0b4e50b7 (patch)
treea47d4d35184445675bf61ec1e4f9a2cd02c87e71 /src/or/dirserv.h
parent1ad6f979b9f74ac8fc0009b5a156ba789dd13c0f (diff)
downloadtor-28ef450b2481770662dd9a8c240da22a0b4e50b7.tar
tor-28ef450b2481770662dd9a8c240da22a0b4e50b7.tar.gz
Remove RS_ENTRY_LEN
Nothing uses it any longer now that we use smartlists of strings for stuff that manipulates iles of formatted routerstatuses.
Diffstat (limited to 'src/or/dirserv.h')
-rw-r--r--src/or/dirserv.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/or/dirserv.h b/src/or/dirserv.h
index bdd97d81e..6c2e372dc 100644
--- a/src/or/dirserv.h
+++ b/src/or/dirserv.h
@@ -37,20 +37,6 @@
#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)
-/** Amount of space to allocate for each entry: r, s, and v lines. */
-#define RS_ENTRY_LEN \
- ( /* first line */ \
- MAX_NICKNAME_LEN+BASE64_DIGEST_LEN*2+ISO_TIME_LEN+INET_NTOA_BUF_LEN+ \
- 5*2 /* ports */ + 10 /* punctuation */ + \
- /* second line */ \
- MAX_FLAG_LINE_LEN + \
- /* weight line */ \
- MAX_WEIGHT_LINE_LEN + \
- /* p line. */ \
- MAX_POLICY_LINE_LEN + \
- /* v line. */ \
- MAX_V_LINE_LEN \
- )
int connection_dirserv_flushed_some(dir_connection_t *conn);