tor_main.c 469 B

123456789101112131415161718192021
  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 Entry point for tor binary.
  9. **/
  10. int tor_main(int argc, char *argv[]);
  11. /** We keep main() in a separate file so that our unit tests can use
  12. * functions from main.c)
  13. */
  14. int main(int argc, char *argv[])
  15. {
  16. return tor_main(argc, argv);
  17. }