diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-04 19:51:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-04 19:59:08 -0400 |
commit | 173b18c79b8e1f3a28e8b4122adb2b4ccf836c7b (patch) | |
tree | efafbba046b207699cf9b3bf1ff3ff97ecba38c9 /src/or/control.c | |
parent | b353cd7e508fd436ce4ec4bd55c52cc7619b29fd (diff) | |
download | tor-173b18c79b8e1f3a28e8b4122adb2b4ccf836c7b.tar.gz tor-173b18c79b8e1f3a28e8b4122adb2b4ccf836c7b.zip |
Add about 60 more DOCDOC comments to 0.2.3
Also, try to resolve some doxygen issues. First, define a magic
"This is doxygen!" macro so that we take the correct branch in
various #if/#else/#endifs in order to get the right documentation.
Second, add in a few grouping @{ and @} entries in order to get some
variables and fields to get grouped together.
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/control.c b/src/or/control.c index 91d94fd665..53ea85de62 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -920,10 +920,12 @@ handle_control_loadconf(control_connection_t *conn, uint32_t len, return 0; } +/* DOCDOC control_event_t */ struct control_event_t { uint16_t event_code; const char *event_name; }; +/* DOCDOC control_event_table */ static const struct control_event_t control_event_table[] = { { EVENT_CIRCUIT_STATUS, "CIRC" }, { EVENT_CIRCUIT_STATUS_MINOR, "CIRC_MINOR" }, @@ -3215,6 +3217,7 @@ is_valid_initial_command(control_connection_t *conn, const char *cmd) * interfaces is broken. */ #define MAX_COMMAND_LINE_LENGTH (1024*1024) +/* DOCDOC peek_connection_has_control0_command */ static int peek_connection_has_control0_command(connection_t *conn) { |