#include <shlwapi.h>\r
#include <stdarg.h>\r
#include <stdio.h>\r
+#include "utf8.h"\r
#include "service.h"\r
#include "account.h"\r
#include "console.h"\r
#include "gui.h"\r
#endif\r
\r
+void nssm_exit(int);\r
int str_equiv(const TCHAR *, const TCHAR *);\r
+int quote(const TCHAR *, TCHAR *, size_t);\r
void strip_basename(TCHAR *);\r
int str_number(const TCHAR *, unsigned long *, TCHAR **);\r
int str_number(const TCHAR *, unsigned long *);\r
int usage(int);\r
const TCHAR *nssm_unquoted_imagepath();\r
const TCHAR *nssm_imagepath();\r
+const TCHAR *nssm_exe();\r
\r
#define NSSM _T("NSSM")\r
#ifdef _WIN64\r
/* How many milliseconds to wait for outstanding hooks. */\r
#define NSSM_HOOK_THREAD_DEADLINE 80000\r
\r
+/* How many milliseconds to wait for closing logging thread. */\r
+#define NSSM_CLEANUP_LOGGERS_DEADLINE 1500\r
+\r
#endif\r