From a6cf47a2cd96c459bfc241c6dce8ca8454140484 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 24 Aug 2008 19:08:36 +0000 Subject: work in progress git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10238 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/win32service.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/win32service.h (limited to 'include') diff --git a/include/win32service.h b/include/win32service.h new file mode 100644 index 000000000..93c9c8e09 --- /dev/null +++ b/include/win32service.h @@ -0,0 +1,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 \ No newline at end of file -- cgit v1.2.3