command.h 744 B

12345678910111213141516171819202122232425
  1. /* Copyright (c) 2001 Matej Pfajfar.
  2. * Copyright (c) 2001-2004, Roger Dingledine.
  3. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
  4. * Copyright (c) 2007-2011, The Tor Project, Inc. */
  5. /* See LICENSE for licensing information */
  6. /**
  7. * \file command.h
  8. * \brief Header file for command.c.
  9. **/
  10. #ifndef _TOR_COMMAND_H
  11. #define _TOR_COMMAND_H
  12. void command_process_cell(cell_t *cell, or_connection_t *conn);
  13. void command_process_var_cell(var_cell_t *cell, or_connection_t *conn);
  14. extern uint64_t stats_n_padding_cells_processed;
  15. extern uint64_t stats_n_create_cells_processed;
  16. extern uint64_t stats_n_created_cells_processed;
  17. extern uint64_t stats_n_relay_cells_processed;
  18. extern uint64_t stats_n_destroy_cells_processed;
  19. #endif