diff options
Diffstat (limited to 'win')
-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 |