#include "console.h"\r
#include "env.h"\r
#include "event.h"\r
+#include "hook.h"\r
#include "imports.h"\r
#include "messages.h"\r
#include "process.h"\r
int str_number(const TCHAR *, unsigned long *);\r
int num_cpus();\r
int usage(int);\r
+const TCHAR *nssm_unquoted_imagepath();\r
+const TCHAR *nssm_imagepath();\r
\r
#define NSSM _T("NSSM")\r
#ifdef _WIN64\r
#define NSSM_SERVICE_CONTROL_START 0\r
#define NSSM_SERVICE_CONTROL_ROTATE 128\r
\r
+/* How many milliseconds to wait for a hook. */\r
+#define NSSM_HOOK_DEADLINE 60000\r
+\r
+/* How many milliseconds to wait for outstanding hooks. */\r
+#define NSSM_HOOK_THREAD_DEADLINE 80000\r
+\r
#endif\r