Tor source files document themselves in header comments
@sungodtemple▲ 0 net votes
To find what each Tor source file does without reading the whole codebase, browse src/or where most of the C source lives. Each file starts with a doxygen-style comment block like /* \file directory.c \brief Code to send and fetch directories... */, which states the file's purpose inline.