diff options
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 72fd36133e..7ef606bbf4 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3018,6 +3018,19 @@ void tor_free_all(int postfork); int tor_main(int argc, char *argv[]); +/********************************* ntmain.c ***************************/ +#ifdef MS_WINDOWS +#define NT_SERVICE +#endif + +#ifdef NT_SERVICE +int nt_service_parse_options(int argc, char **argv); +int nt_service_is_stopping(void); +void nt_service_set_state(DWORD state); +#else +#define nt_service_is_stopping() (0) +#endif + /********************************* onion.c ***************************/ int onion_pending_add(or_circuit_t *circ); |