Added open_registry() function.
[nssm.git] / registry.h
index 564e674..348c0c4 100644 (file)
@@ -25,6 +25,8 @@
 #define NSSM_REG_ROTATE_BYTES_HIGH _T("AppRotateBytesHigh")\r
 #define NSSM_STDIO_LENGTH 29\r
 \r
+HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam);\r
+HKEY open_registry(const TCHAR *, REGSAM sam);\r
 int create_messages();\r
 int create_parameters(nssm_service_t *, bool);\r
 int create_exit_action(TCHAR *, const TCHAR *, bool);\r
@@ -37,6 +39,6 @@ int get_number(HKEY, TCHAR *, unsigned long *, bool);
 int get_number(HKEY, TCHAR *, unsigned long *);\r
 void override_milliseconds(TCHAR *, HKEY, TCHAR *, unsigned long *, unsigned long, unsigned long);\r
 int get_parameters(nssm_service_t *, STARTUPINFO *);\r
-int get_exit_action(TCHAR *, unsigned long *, TCHAR *, bool *);\r
+int get_exit_action(const TCHAR *, unsigned long *, TCHAR *, bool *);\r
 \r
 #endif\r