windows_service.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 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 SQUID_SRC_WINDOWS_SERVICE_H
10 #define SQUID_SRC_WINDOWS_SERVICE_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 /* SQUID_SRC_WINDOWS_SERVICE_H */
28 
int WIN32_Subsystem_Init(int *, char ***)
int WIN32_StartService(int argc, char **argv)
void WIN32_SetServiceCommandLine(void)
void WIN32_InstallService(void)
void WIN32_RemoveService(void)
void WIN32_sendSignal(int)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors