mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Remove RS_ENTRY_LEN
Nothing uses it any longer now that we use smartlists of strings for stuff that manipulates iles of formatted routerstatuses.
This commit is contained in:
parent
1ad6f979b9
commit
28ef450b24
@ -37,20 +37,6 @@
|
|||||||
#define MAX_WEIGHT_LINE_LEN (12+10+10+10+1)
|
#define MAX_WEIGHT_LINE_LEN (12+10+10+10+1)
|
||||||
/** Maximum length of an exit policy summary line. */
|
/** Maximum length of an exit policy summary line. */
|
||||||
#define MAX_POLICY_LINE_LEN (3+MAX_EXITPOLICY_SUMMARY_LEN)
|
#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);
|
int connection_dirserv_flushed_some(dir_connection_t *conn);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user