summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-23 17:56:31 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-23 17:56:31 +0000
commit558e9899e4d11d8ef194e5bc1761d5d2f6dff450 (patch)
tree45eb50017f2b65c70babf90b3c088a3c952ce6de /src/or/routerparse.c
parentd7f55dafe0287c1a8c13478c4e077da65533769c (diff)
downloadtor-558e9899e4d11d8ef194e5bc1761d5d2f6dff450.tar.gz
tor-558e9899e4d11d8ef194e5bc1761d5d2f6dff450.zip
Document most undocumented variables.
svn:r17754
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 46eaceadb8..3497ffbeef 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -321,6 +321,7 @@ static token_rule_t dir_token_table[] = {
END_OF_TABLE
};
+/** List of tokens common to V3 authority certificates and V3 consensuses. */
#define CERTIFICATE_MEMBERS \
T1("dir-key-certificate-version", K_DIR_KEY_CERTIFICATE_VERSION, \
GE(1), NO_OBJ ), \
@@ -333,7 +334,7 @@ static token_rule_t dir_token_table[] = {
NO_ARGS, NEED_OBJ), \
T01("dir-address", K_DIR_ADDRESS, GE(1), NO_OBJ),
-/* DOCDOC dir_key_certificate_table */
+/** List of tokens allowable in V3 authority certificates. */
static token_rule_t dir_key_certificate_table[] = {
CERTIFICATE_MEMBERS
T1("fingerprint", K_FINGERPRINT, CONCAT_ARGS, NO_OBJ ),
@@ -374,7 +375,7 @@ static token_rule_t client_keys_token_table[] = {
END_OF_TABLE
};
-/* DOCDOC networkstatus_token_table */
+/** List of tokens allowed in V3 networkstatus votes. */
static token_rule_t networkstatus_token_table[] = {
T1("network-status-version", K_NETWORK_STATUS_VERSION,
GE(1), NO_OBJ ),
@@ -400,7 +401,8 @@ static token_rule_t networkstatus_token_table[] = {
END_OF_TABLE
};
-/* DOCDOC networkstatus_consensus_token_table */
+
+/** List of tokens allowed in V3 networkstatus consensuses. */
static token_rule_t networkstatus_consensus_token_table[] = {
T1("network-status-version", K_NETWORK_STATUS_VERSION,
GE(1), NO_OBJ ),
@@ -432,7 +434,7 @@ static token_rule_t networkstatus_vote_footer_token_table[] = {
END_OF_TABLE
};
-/* DOCDOC networkstatus_detached_signature_token_table */
+/** List of tokens allowable in detached networkstatus signature documents. */
static token_rule_t networkstatus_detached_signature_token_table[] = {
T1_START("consensus-digest", K_CONSENSUS_DIGEST, GE(1), NO_OBJ ),
T1("valid-after", K_VALID_AFTER, CONCAT_ARGS, NO_OBJ ),