tor_main.c 627 B

123456789101112131415161718192021222324252627282930
  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. #ifndef _MSC_VER
  9. #include "micro-revision.i"
  10. #endif
  11. "";
  12. /**
  13. * \file tor_main.c
  14. * \brief Stub module containing a main() function. Allows unit
  15. * test binary to link against main.c.
  16. **/
  17. int tor_main(int argc, char *argv[]);
  18. /** We keep main() in a separate file so that our unit tests can use
  19. * functions from main.c)
  20. */
  21. int
  22. main(int argc, char *argv[])
  23. {
  24. return tor_main(argc, argv);
  25. }