diff options
author | Roger Dingledine <arma@torproject.org> | 2003-09-16 05:41:49 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-09-16 05:41:49 +0000 |
commit | 8b71b7338faeaedf60e40b335b865781106ad1a2 (patch) | |
tree | 8d377cc8a77134d9cfd39b7a0b2b72cf7e93852b /src/or/command.c | |
parent | 9c6343fdf8ab6e8241c613c54bb3bd9cb6c78a91 (diff) | |
download | tor-8b71b7338faeaedf60e40b335b865781106ad1a2.tar.gz tor-8b71b7338faeaedf60e40b335b865781106ad1a2.zip |
clean up exported api's
svn:r461
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/or/command.c b/src/or/command.c index f38708e2f3..9a32b0abbe 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -6,7 +6,12 @@ extern or_options_t options; /* command-line and config-file options */ -void command_time_process_cell(cell_t *cell, connection_t *conn, +static void command_process_create_cell(cell_t *cell, connection_t *conn); +static void command_process_created_cell(cell_t *cell, connection_t *conn); +static void command_process_relay_cell(cell_t *cell, connection_t *conn); +static void command_process_destroy_cell(cell_t *cell, connection_t *conn); + +static void command_time_process_cell(cell_t *cell, connection_t *conn, int *num, int *time, void (*func)(cell_t *, connection_t *)) { struct timeval start, end; @@ -77,7 +82,7 @@ void command_process_cell(cell_t *cell, connection_t *conn) { } } -void command_process_create_cell(cell_t *cell, connection_t *conn) { +static void command_process_create_cell(cell_t *cell, connection_t *conn) { circuit_t *circ; circ = circuit_get_by_aci_conn(cell->aci, conn); @@ -106,7 +111,7 @@ void command_process_create_cell(cell_t *cell, connection_t *conn) { log_fn(LOG_DEBUG,"success: handed off onionskin."); } -void command_process_created_cell(cell_t *cell, connection_t *conn) { +static void command_process_created_cell(cell_t *cell, connection_t *conn) { circuit_t *circ; cell_t newcell; @@ -155,7 +160,7 @@ void command_process_created_cell(cell_t *cell, connection_t *conn) { } } -void command_process_relay_cell(cell_t *cell, connection_t *conn) { +static void command_process_relay_cell(cell_t *cell, connection_t *conn) { circuit_t *circ; circ = circuit_get_by_aci_conn(cell->aci, conn); @@ -187,7 +192,7 @@ void command_process_relay_cell(cell_t *cell, connection_t *conn) { } } -void command_process_destroy_cell(cell_t *cell, connection_t *conn) { +static void command_process_destroy_cell(cell_t *cell, connection_t *conn) { circuit_t *circ; circ = circuit_get_by_aci_conn(cell->aci, conn); |