diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-22 17:53:04 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-22 17:53:04 +0000 |
commit | 1e5f4574613be3f26cd05f2873fd54ee526a63d7 (patch) | |
tree | 614832936d9b2e3592f76f400a001d933fcaf14f /src/or/control.c | |
parent | 167d266dbf618c856a87ac482668cd848651ab62 (diff) | |
download | tor-1e5f4574613be3f26cd05f2873fd54ee526a63d7.tar.gz tor-1e5f4574613be3f26cd05f2873fd54ee526a63d7.zip |
Fix most DOCDOCs remaining and/or added by redox.
svn:r17734
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index fafa1c1e5a..d807eb5d63 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -83,13 +83,25 @@ static char authentication_cookie[AUTHENTICATION_COOKIE_LEN]; * of this so we can respond to getinfo status/bootstrap-phase queries. */ static char last_sent_bootstrap_message[BOOTSTRAP_MSG_LEN]; +/** Flag for event_format_t. Indicates that we should use the old + * name format of nickname|hexdigest + */ #define SHORT_NAMES 1 +/** Flag for event_format_t. Indicates that we should use the new + * name format of $hexdigest[=~]nickname + */ #define LONG_NAMES 2 #define ALL_NAMES (SHORT_NAMES|LONG_NAMES) +/** Flag for event_format_t. Indicates that we should use the new event + * format where extra event fields are allowed using a NAME=VAL format. */ #define EXTENDED_FORMAT 4 +/** Flag for event_format_t. Indicates that we are using the old event format + * where extra fields aren't allowed. */ #define NONEXTENDED_FORMAT 8 #define ALL_FORMATS (EXTENDED_FORMAT|NONEXTENDED_FORMAT) -/* DOCDOC event_format_t */ + +/** Bit field of flags to select how to format a controller event. Recognized + * flags are SHORT_NAMES, LONG_NAMES, EXTENDED_FORMAT, NONEXTENDED_FORMAT. */ typedef int event_format_t; static void connection_printf_to_buf(control_connection_t *conn, |