source: squid-ssl/trunk/fuentes/src/WinSvc.h @ 5495

Last change on this file since 5495 was 5495, checked in by Juanma, 2 years ago

Initial release

File size: 930 bytes
Line 
1/*
2 * Copyright (C) 1996-2015 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);
16void WIN32_SetServiceCommandLine(void);
17void WIN32_InstallService(void);
18void WIN32_RemoveService(void);
19#else /* _SQUID_WINDOWS_ */
20inline int WIN32_Subsystem_Init(int *foo, char ***bar) {return 0; } /* NOP */
21inline void WIN32_sendSignal(int foo) { 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
Note: See TracBrowser for help on using the repository browser.