aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@persephoneslair.org>2012-08-23 19:30:49 -0700
committerAndrea Shepard <andrea@torproject.org>2012-10-08 03:05:00 -0700
commit519c971f6a3b89f1e81cda3c0290d4d943ec0d78 (patch)
tree6a697feceb35a791563f2e4d7dd1ab1ea8c880bb /src/or/command.h
parent32337502f11e6c84e4db8591f5f81c4fc6d1da58 (diff)
downloadtor-519c971f6a3b89f1e81cda3c0290d4d943ec0d78.tar
tor-519c971f6a3b89f1e81cda3c0290d4d943ec0d78.tar.gz
Use channel_t in cmd.c
Diffstat (limited to 'src/or/command.h')
-rw-r--r--src/or/command.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/or/command.h b/src/or/command.h
index 078ccc9f5..eddce8741 100644
--- a/src/or/command.h
+++ b/src/or/command.h
@@ -12,8 +12,12 @@
#ifndef _TOR_COMMAND_H
#define _TOR_COMMAND_H
-void command_process_cell(cell_t *cell, or_connection_t *conn);
-void command_process_var_cell(var_cell_t *cell, or_connection_t *conn);
+#include "channel.h"
+
+void command_process_cell(channel_t *chan, cell_t *cell);
+void command_process_var_cell(channel_t *chan, var_cell_t *cell);
+void command_setup_channel(channel_t *chan);
+void command_setup_listener(channel_t *chan);
extern uint64_t stats_n_padding_cells_processed;
extern uint64_t stats_n_create_cells_processed;