Added quote().
[nssm.git] / nssm.h
diff --git a/nssm.h b/nssm.h
index f95391d..5709bd6 100644 (file)
--- a/nssm.h
+++ b/nssm.h
 #define DIR_LENGTH PATH_LENGTH - 12\r
 \r
 #define _WIN32_WINNT 0x0500\r
+\r
+#define APSTUDIO_HIDDEN_SYMBOLS\r
+#include <windows.h>\r
+#include <prsht.h>\r
+#undef APSTUDIO_HIDDEN_SYMBOLS\r
+#include <commctrl.h>\r
+#include <tchar.h>\r
+#ifndef NSSM_COMPILE_RC\r
 #include <fcntl.h>\r
 #include <io.h>\r
 #include <shlwapi.h>\r
 #include <stdarg.h>\r
 #include <stdio.h>\r
-#include <tchar.h>\r
-#include <windows.h>\r
 #include "service.h"\r
 #include "account.h"\r
 #include "console.h"\r
 #include "settings.h"\r
 #include "io.h"\r
 #include "gui.h"\r
+#endif\r
 \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 num_cpus();\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