tor/src/or/tor_main.c

25 lines
536 B
C
Raw Normal View History

2005-04-01 22:15:56 +02:00
/* Copyright 2001-2004 Roger Dingledine.
* Copyright 2004-2005 Roger Dingledine, Nick Mathewson. */
/* See LICENSE for licensing information */
/* $Id$ */
const char tor_main_c_id[] =
"$Id$";
2004-05-10 04:43:41 +02:00
/**
* \file tor_main.c
* \brief Stub module containing a main() function. Allows unit
* test binary to link against main.c.
2004-05-10 04:43:41 +02:00
**/
int tor_main(int argc, char *argv[]);
2004-05-10 04:43:41 +02:00
/** We keep main() in a separate file so that our unit tests can use
* functions from main.c)
*/
int
main(int argc, char *argv[])
{
return tor_main(argc, argv);
}