Merge branch 'maint-0.4.5' into maint-0.4.6
[tor.git] / src / core / core.md
blob8ecc43eaae3ea594a34e6910666f7330f1bedeb7
1 @dir /core
2 @brief core: main loop and onion routing functionality
4 The "core" directory has the central protocols for Tor, which every
5 client and relay must implement in order to perform onion routing.
7 It is divided into three lower-level pieces:
9    - \refdir{core/crypto} -- Tor-specific cryptography.
11    - \refdir{core/proto} -- Protocol encoding/decoding.
13    - \refdir{core/mainloop} -- A connection-oriented asynchronous mainloop.
15 and one high-level piece:
17    - \refdir{core/or} -- Implements onion routing itself.