tor_main.c 534 B

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