diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-06-11 18:52:12 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-06-11 18:52:12 +0000 |
commit | 232861ba42c176a98fdaa2792ae2930a759723f1 (patch) | |
tree | 89a578abc3840bd24b5535b75b655e17b13bfd41 /src/or/rendclient.c | |
parent | df029fc9df2e58f7bc225f0a61217bcc9c60e91b (diff) | |
download | tor-232861ba42c176a98fdaa2792ae2930a759723f1.tar.gz tor-232861ba42c176a98fdaa2792ae2930a759723f1.zip |
Docment or add DOCDOC comments to undocumented functions in src/or. Make function definition format uniform.
svn:r4411
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 8f23ddfcbc..bb64095ee4 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -53,7 +53,8 @@ rend_client_send_establish_rendezvous(circuit_t *circ) * down introcirc if possible. */ int -rend_client_send_introduction(circuit_t *introcirc, circuit_t *rendcirc) { +rend_client_send_introduction(circuit_t *introcirc, circuit_t *rendcirc) +{ size_t payload_len; int r; char payload[RELAY_PAYLOAD_SIZE]; @@ -383,7 +384,9 @@ rend_client_receive_rendezvous(circuit_t *circ, const char *request, size_t requ * with at least one intro point, move them to the next state; * else fail them. */ -void rend_client_desc_here(char *query) { +void +rend_client_desc_here(char *query) +{ connection_t *conn; rend_cache_entry_t *entry; time_t now = time(NULL); @@ -419,7 +422,9 @@ void rend_client_desc_here(char *query) { /** strdup a nickname for a random introduction * point of query. return NULL if error. */ -char *rend_client_get_random_intro(char *query) { +char * +rend_client_get_random_intro(char *query) +{ int i; smartlist_t *sl; char *choice; |