]> git.ipfire.org Git - thirdparty/tor.git/commit
Split onion.[ch] into onion{,_fast,_tap}.[ch]
authorNick Mathewson <nickm@torproject.org>
Tue, 4 Dec 2012 21:09:52 +0000 (16:09 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 2 Jan 2013 19:11:14 +0000 (14:11 -0500)
commitf7e590df05b1b3568a68ee3eae3965cb58e13de7
treec808c0da48de96067ae20fb07aae9c1db451b891
parent5b3dd1610cf2147509167332bf298fc821e6a102
Split onion.[ch] into onion{,_fast,_tap}.[ch]

I'm going to want a generic "onionskin" type and set of wrappers, and
for that, it will be helpful to isolate the different circuit creation
handshakes.  Now the original handshake is in onion_tap.[ch], the
CREATE_FAST handshake is in onion_fast.[ch], and onion.[ch] now
handles the onion queue.

This commit does nothing but move code and adjust header files.
12 files changed:
src/or/circuitbuild.c
src/or/command.c
src/or/cpuworker.c
src/or/include.am
src/or/onion.c
src/or/onion.h
src/or/onion_fast.c [new file with mode: 0644]
src/or/onion_fast.h [new file with mode: 0644]
src/or/onion_tap.c [new file with mode: 0644]
src/or/onion_tap.h [new file with mode: 0644]
src/test/bench.c
src/test/test.c