WinSvc.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 WINSVC_H_
10#define WINSVC_H_
11
12#if _SQUID_WINDOWS_
13int WIN32_StartService(int, char **);
14int WIN32_Subsystem_Init(int *, char ***);
15void WIN32_sendSignal(int);
17void WIN32_InstallService(void);
18void WIN32_RemoveService(void);
19#else /* _SQUID_WINDOWS_ */
20inline int WIN32_Subsystem_Init(int *, char ***) {return 0;} /* NOP */
21inline void WIN32_sendSignal(int) {return;} /* NOP */
22inline void WIN32_SetServiceCommandLine(void) {} /* NOP */
23inline void WIN32_InstallService(void) {} /* NOP */
24inline void WIN32_RemoveService(void) {} /* NOP */
25#endif /* _SQUID_WINDOWS_ */
26
27#endif /* WINSVC_H_ */
28
int WIN32_StartService(int argc, char **argv)
Definition: WinSvc.cc:894
void WIN32_sendSignal(int)
Definition: WinSvc.h:21
void WIN32_SetServiceCommandLine(void)
Definition: WinSvc.h:22
void WIN32_InstallService(void)
Definition: WinSvc.h:23
int WIN32_Subsystem_Init(int *, char ***)
Definition: WinSvc.h:20
void WIN32_RemoveService(void)
Definition: WinSvc.h:24

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors