#include "micro-revision.i"
Functions | |
int | tor_main (int argc, char *argv[]) |
int | main (int argc, char *argv[]) |
Variables | |
const char | tor_git_revision [] |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
We keep main() in a separate file so that our unit tests can use functions from main.c)
References tor_main().
int tor_main | ( | int | argc, | |
char * | argv[] | |||
) |
Main entry point for the Tor process. Called from main().
References _tor_free(), _tor_malloc(), _tor_realloc(), do_hash_password(), do_list_fingerprint(), do_main_loop(), get_options(), init_logging(), LD_BUG, tor_assert, tor_cleanup(), tor_init(), tor_threads_init(), and update_approx_time().
Referenced by main().
const char tor_git_revision[] |
Initial value:
# 12 "/home/arma/work/onion/git/tor/src/or/tor_main.c" 2 ""