diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-07-22 10:08:32 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-07-27 07:58:14 +0200 |
commit | 3074d5a2215b82e37c756426a7576088e52630ea (patch) | |
tree | 44dbd327710f63ea471020f23cec9625b3de63eb /src/or/command.h | |
parent | 01c7b60a8063580fff7ad48adac3d1905df01013 (diff) | |
download | tor-3074d5a2215b82e37c756426a7576088e52630ea.tar.gz tor-3074d5a2215b82e37c756426a7576088e52630ea.zip |
Create command.h
Diffstat (limited to 'src/or/command.h')
-rw-r--r-- | src/or/command.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/or/command.h b/src/or/command.h new file mode 100644 index 0000000000..1aa56207f6 --- /dev/null +++ b/src/or/command.h @@ -0,0 +1,25 @@ +/* Copyright (c) 2001 Matej Pfajfar. + * Copyright (c) 2001-2004, Roger Dingledine. + * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. + * Copyright (c) 2007-2010, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +/** + * \file command.h + * \brief Header file for command.c. + **/ + +#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); + +extern uint64_t stats_n_padding_cells_processed; +extern uint64_t stats_n_create_cells_processed; +extern uint64_t stats_n_created_cells_processed; +extern uint64_t stats_n_relay_cells_processed; +extern uint64_t stats_n_destroy_cells_processed; + +#endif + |