tor_main.c 880 Bytes
Newer Older
Nick Mathewson's avatar
Nick Mathewson committed
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
5
/* See LICENSE for licensing information */
/* $Id$ */
6
7
const char tor_main_c_id[] =
  "$Id$";
8

9
10
11
12
/** String describing which Tor subversion repository version the source was
 * built from.  This string is generated by a bit of shell kludging int
 * src/or/Makefile.am, and is usually right.
 */
13
const char tor_svn_revision[] =
14
#ifndef _MSC_VER
15
#include "micro-revision.i"
16
#endif
17
18
  "";

Roger Dingledine's avatar
Roger Dingledine committed
19
20
/**
 * \file tor_main.c
21
22
 * \brief Stub module containing a main() function. Allows unit
 * test binary to link against main.c.
Roger Dingledine's avatar
Roger Dingledine committed
23
 **/
24

25
26
int tor_main(int argc, char *argv[]);

Roger Dingledine's avatar
Roger Dingledine committed
27
28
29
/** We keep main() in a separate file so that our unit tests can use
 * functions from main.c)
 */
30
31
int
main(int argc, char *argv[])
32
33
34
{
  return tor_main(argc, argv);
}
35