mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Split main.c into main.c and mainloop.c
The main.c code is responsible for initialization and shutdown; the mainloop.c code is responsible for running the main loop of Tor. Splitting the "generic event loop" part of mainloop.c from the event-loop-specific part is not done as part of this patch.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include "core/mainloop/connection.h"
|
||||
#include "core/or/connection_edge.h"
|
||||
#include "feature/control/control.h"
|
||||
#include "core/mainloop/main.h"
|
||||
#include "core/mainloop/mainloop.h"
|
||||
#include "core/or/policies.h"
|
||||
|
||||
#include "feature/control/control_connection_st.h"
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
#include "lib/crypt_ops/crypto_rand.h"
|
||||
#include "feature/dircache/directory.h"
|
||||
#include "feature/client/entrynodes.h"
|
||||
#include "core/mainloop/main.h"
|
||||
#include "core/mainloop/mainloop.h"
|
||||
#include "feature/nodelist/microdesc.h"
|
||||
#include "feature/nodelist/networkstatus.h"
|
||||
#include "feature/nodelist/nodelist.h"
|
||||
|
||||
Reference in New Issue
Block a user