mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Docment or add DOCDOC comments to undocumented functions in src/or. Make function definition format uniform.
svn:r4411
This commit is contained in:
+8
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user