diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-05 16:04:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-05 17:15:50 -0400 |
commit | 81cb0afb2b0163d95a435583041dce1064eec65c (patch) | |
tree | 69f13e56ecb7e0dd899636ef70185c9416ac2448 /src/or/ntmain.h | |
parent | 4eac5c6ce6f19829bf1aed46e8d3d72fa3ae1a74 (diff) | |
download | tor-81cb0afb2b0163d95a435583041dce1064eec65c.tar.gz tor-81cb0afb2b0163d95a435583041dce1064eec65c.zip |
Start splitting src/or
This is a very gentle commit that just lays the groundwork in the
build system: it puts the include files to build libtor-app.a into
src/core, and to build the tor executable into src/app. The
executable is now "src/app/tor".
Diffstat (limited to 'src/or/ntmain.h')
-rw-r--r-- | src/or/ntmain.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/or/ntmain.h b/src/or/ntmain.h deleted file mode 100644 index 223d9e318b..0000000000 --- a/src/or/ntmain.h +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2001 Matej Pfajfar. - * Copyright (c) 2001-2004, Roger Dingledine. - * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. - * Copyright (c) 2007-2018, The Tor Project, Inc. */ -/* See LICENSE for licensing information */ - -/** - * \file ntmain.h - * \brief Header file for ntmain.c. - **/ - -#ifndef TOR_NTMAIN_H -#define TOR_NTMAIN_H - -#ifdef _WIN32 -#define NT_SERVICE -#endif - -#ifdef NT_SERVICE -int nt_service_parse_options(int argc, char **argv, int *should_exit); -int nt_service_is_stopping(void); -void nt_service_set_state(DWORD state); -#else -#define nt_service_is_stopping() 0 -#endif /* defined(NT_SERVICE) */ - -#endif /* !defined(TOR_NTMAIN_H) */ - |