aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-09-29 02:54:09 +0000
committerRoger Dingledine <arma@torproject.org>2005-09-29 02:54:09 +0000
commit3559f821a1ecdcaff98c73fae43ab8c670f675a0 (patch)
tree7a2fc7dc3cca9f6432daf2d1d0bb601241bfe027 /src/or/routerparse.c
parent2999cbf2334a707eb621d204fff51a3afff58fb4 (diff)
downloadtor-3559f821a1ecdcaff98c73fae43ab8c670f675a0.tar.gz
tor-3559f821a1ecdcaff98c73fae43ab8c670f675a0.zip
clean up some doxygen stuff
svn:r5147
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 5ddfbb6012..51ab77ffd0 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -83,15 +83,15 @@ typedef struct directory_token_t {
/** Rules for how many arguments a keyword can take. */
typedef enum {
- NO_ARGS, /**< No arguments, ever */
- ARGS, /**< A list of arguments separated by spaces */
+ NO_ARGS, /**< No arguments, ever. */
+ ARGS, /**< A list of arguments separated by spaces. */
CONCAT_ARGS, /**< The rest of the line, treated as a single argument. */
} arg_syntax;
/** Rules for whether the keyword needs an object. */
typedef enum {
- NO_OBJ, /**< No object, ever */
- NEED_OBJ, /**< Object is required */
+ NO_OBJ, /**< No object, ever. */
+ NEED_OBJ, /**< Object is required. */
NEED_KEY, /**< Object is required, and must be a public key. */
OBJ_OK, /**< Object is optional. */
} obj_syntax;
@@ -99,11 +99,11 @@ typedef enum {
/** Rules for where a keyword can appear. */
typedef enum {
DIR = 1, /**< Appears only in directory. */
- RTR = 2, /**< Appears only in router descriptor or runningrouters */
+ RTR = 2, /**< Appears only in router descriptor or runningrouters. */
NETSTATUS = 4, /**< v2 or later ("versioned") network status. */
ANYSIGNED = 7, /**< Any "full" document (that is, not a router status.) */
RTRSTATUS = 8, /**< Router-status portion of a versioned network status. */
- ANY = 15, /**< Appears in any document type */
+ ANY = 15, /**< Appears in any document type. */
} where_syntax;
/** Table mapping keywords to token value and to argument rules. */