From 7eb54577bb3b8cdb2fa9a2ebfb537fa2f369d6b5 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 24 Aug 2008 19:08:54 +0000 Subject: Move git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10239 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/win32service.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 win/win32service.h (limited to 'win') diff --git a/win/win32service.h b/win/win32service.h new file mode 100644 index 000000000..93c9c8e09 --- /dev/null +++ b/win/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