Use channel_t in cmd.c

This commit is contained in:
Andrea Shepard 2012-08-23 19:30:49 -07:00 committed by Andrea Shepard
parent 32337502f1
commit 519c971f6a
2 changed files with 110 additions and 950 deletions

File diff suppressed because it is too large Load Diff

View File

@ -12,8 +12,12 @@
#ifndef _TOR_COMMAND_H #ifndef _TOR_COMMAND_H
#define _TOR_COMMAND_H #define _TOR_COMMAND_H
void command_process_cell(cell_t *cell, or_connection_t *conn); #include "channel.h"
void command_process_var_cell(var_cell_t *cell, or_connection_t *conn);
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_padding_cells_processed;
extern uint64_t stats_n_create_cells_processed; extern uint64_t stats_n_create_cells_processed;