summaryrefslogtreecommitdiff
path: root/win/win32service.h
blob: 93c9c8e09b731d9082410d86ddec8e3a89bd8389 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _WIN32SERVICE_H_
#define _WIN32SERVICE_H_

/* Hook for win32service.cpp to exit properly with the service specific error code */
#define exit(a) newexit(a)
void newexit(int status);

/* Marks the service as running, not called until the config is parsed */
void SetServiceRunning();

#endif