InspIRCd
2.0
win
win32service.h
1
/*
2
* InspIRCd -- Internet Relay Chat Daemon
3
*
4
*
5
* This file is part of InspIRCd. InspIRCd is free software: you can
6
* redistribute it and/or modify it under the terms of the GNU General Public
7
* License as published by the Free Software Foundation, version 2.
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12
* details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
#pragma once
19
#ifdef _WIN32
20
21
/* Hook for win32service.cpp to exit properly with the service specific error code */
22
void
SetServiceStopped(
unsigned
long
dwStatus);
23
24
/* Marks the service as running, not called until the config is parsed */
25
void
SetServiceRunning();
26
27
#endif
Generated by
1.8.19