WinSvc.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef WINSVC_H_
10 #define WINSVC_H_
11 
12 #if _SQUID_WINDOWS_
13 int WIN32_StartService(int, char **);
14 int WIN32_Subsystem_Init(int *, char ***);
15 void WIN32_sendSignal(int);
17 void WIN32_InstallService(void);
18 void WIN32_RemoveService(void);
19 #else /* _SQUID_WINDOWS_ */
20 inline int WIN32_Subsystem_Init(int *, char ***) {return 0;} /* NOP */
21 inline void WIN32_sendSignal(int) {return;} /* NOP */
22 inline void WIN32_SetServiceCommandLine(void) {} /* NOP */
23 inline void WIN32_InstallService(void) {} /* NOP */
24 inline void WIN32_RemoveService(void) {} /* NOP */
25 #endif /* _SQUID_WINDOWS_ */
26 
27 #endif /* WINSVC_H_ */
28 
int WIN32_Subsystem_Init(int *, char ***)
Definition: WinSvc.h:20
void WIN32_sendSignal(int)
Definition: WinSvc.h:21
void WIN32_InstallService(void)
Definition: WinSvc.h:23
void WIN32_RemoveService(void)
Definition: WinSvc.h:24
void WIN32_SetServiceCommandLine(void)
Definition: WinSvc.h:22
int WIN32_StartService(int argc, char **argv)
Definition: WinSvc.cc:894

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors