tor_main.c 536 B

123456789101112131415161718192021222324
  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. /**
  8. * \file tor_main.c
  9. * \brief Stub module containing a main() function. Allows unit
  10. * test binary to link against main.c.
  11. **/
  12. int tor_main(int argc, char *argv[]);
  13. /** We keep main() in a separate file so that our unit tests can use
  14. * functions from main.c)
  15. */
  16. int
  17. main(int argc, char *argv[])
  18. {
  19. return tor_main(argc, argv);
  20. }