aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/command.h')
-rw-r--r--src/or/command.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/or/command.h b/src/or/command.h
index 078ccc9f5d..375d704561 100644
--- a/src/or/command.h
+++ b/src/or/command.h
@@ -9,11 +9,15 @@
* \brief Header file for command.c.
**/
-#ifndef _TOR_COMMAND_H
-#define _TOR_COMMAND_H
+#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_listener_t *chan_l);
extern uint64_t stats_n_padding_cells_processed;
extern uint64_t stats_n_create_cells_processed;