tor_main.c 603 B

12345678910111213141516171819202122232425262728
  1. /* Copyright 2001-2004 Roger Dingledine.
  2. * Copyright 2004-2007 Roger Dingledine, Nick Mathewson. */
  3. /* See LICENSE for licensing information */
  4. /* $Id$ */
  5. const char tor_main_c_id[] =
  6. "$Id$";
  7. const char tor_svn_revision[] =
  8. #include "micro-revision.i"
  9. "";
  10. /**
  11. * \file tor_main.c
  12. * \brief Stub module containing a main() function. Allows unit
  13. * test binary to link against main.c.
  14. **/
  15. int tor_main(int argc, char *argv[]);
  16. /** We keep main() in a separate file so that our unit tests can use
  17. * functions from main.c)
  18. */
  19. int
  20. main(int argc, char *argv[])
  21. {
  22. return tor_main(argc, argv);
  23. }