Tor 0.4.9.0-alpha-dev
Functions
tor_main.c File Reference

Stub module containing a main() function. More...

#include "orconfig.h"

Go to the source code of this file.

Functions

int tor_main (int argc, char *argv[])
 
int main (int argc, char *argv[])
 

Detailed Description

Stub module containing a main() function.

We keep the main function in a separate module so that the unit tests, which have their own main()s, can link against main.c.

Definition in file tor_main.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

We keep main() in a separate file so that our unit tests can use functions from main.c.

Definition at line 25 of file tor_main.c.

◆ tor_main()

int tor_main ( int  argc,
char *  argv[] 
)

Definition at line 155 of file tor_api.c.