tor_main.c 682 B

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