diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-24 19:08:36 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-24 19:08:36 +0000 |
commit | a6cf47a2cd96c459bfc241c6dce8ca8454140484 (patch) | |
tree | 8330b5a6304d8a59fdf37328a6e74eb9745d0d65 /include | |
parent | 6a149a4718ead139535ae038c2d8f8847f1a594c (diff) |
work in progress
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10238 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/win32service.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 |