ntmain.c File Reference

Go to the source code of this file.

Detailed Description

Entry points for running/configuring Tor as a Windows Service.

Windows Services expect to be registered with the operating system, and to have entry points for starting, stopping, and monitoring them. This module implements those entry points so that a tor relay or client or hidden service can run as a Windows service. Therefore, this module is only compiled when building for Windows.

Warning: this module is not very well tested or very well maintained.

Definition in file ntmain.c.