diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-24 19:08:54 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-24 19:08:54 +0000 |
commit | 7eb54577bb3b8cdb2fa9a2ebfb537fa2f369d6b5 (patch) | |
tree | 11cbfc097dd398fc42586dd63e370c1e70a4ebb7 /win/win32service.h | |
parent | a6cf47a2cd96c459bfc241c6dce8ca8454140484 (diff) |
Move
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10239 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win/win32service.h')
-rw-r--r-- | win/win32service.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 |