mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 18:22:09 +01:00
Create command.h
This commit is contained in:
parent
01c7b60a80
commit
3074d5a221
@ -18,6 +18,7 @@
|
||||
#include "or.h"
|
||||
#include "circuitbuild.h"
|
||||
#include "circuitlist.h"
|
||||
#include "command.h"
|
||||
#include "router.h"
|
||||
#include "routerlist.h"
|
||||
|
||||
|
25
src/or/command.h
Normal file
25
src/or/command.h
Normal file
@ -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
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include "or.h"
|
||||
#include "buffers.h"
|
||||
#include "circuitbuild.h"
|
||||
#include "command.h"
|
||||
#include "geoip.h"
|
||||
#include "router.h"
|
||||
#include "routerlist.h"
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "circuitbuild.h"
|
||||
#include "circuitlist.h"
|
||||
#include "circuituse.h"
|
||||
#include "command.h"
|
||||
#include "dnsserv.h"
|
||||
#include "geoip.h"
|
||||
#include "rendclient.h"
|
||||
|
11
src/or/or.h
11
src/or/or.h
@ -3055,17 +3055,6 @@ typedef struct {
|
||||
double close_ms;
|
||||
} circuit_build_times_t;
|
||||
|
||||
/********************************* command.c ***************************/
|
||||
|
||||
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;
|
||||
|
||||
/********************************* config.c ***************************/
|
||||
|
||||
/** An error from options_trial_assign() or options_init_from_string(). */
|
||||
|
Loading…
Reference in New Issue
Block a user