Back to index

tor  0.2.3.19-rc
cpuworker.h
Go to the documentation of this file.
00001 /* Copyright (c) 2001 Matej Pfajfar.
00002  * Copyright (c) 2001-2004, Roger Dingledine.
00003  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
00004  * Copyright (c) 2007-2012, The Tor Project, Inc. */
00005 /* See LICENSE for licensing information */
00006 
00012 #ifndef _TOR_CPUWORKER_H
00013 #define _TOR_CPUWORKER_H
00014 
00015 void cpu_init(void);
00016 void cpuworkers_rotate(void);
00017 int connection_cpu_finished_flushing(connection_t *conn);
00018 int connection_cpu_reached_eof(connection_t *conn);
00019 int connection_cpu_process_inbuf(connection_t *conn);
00020 int assign_onionskin_to_cpuworker(connection_t *cpuworker,
00021                                   or_circuit_t *circ,
00022                                   char *onionskin);
00023 
00024 #endif
00025