Command to dump service configuration.
[nssm.git] / registry.h
index 394a49f..ad7cd7a 100644 (file)
@@ -25,6 +25,7 @@
 #define NSSM_REG_STDIO_DISPOSITION _T("CreationDisposition")\r
 #define NSSM_REG_STDIO_FLAGS _T("FlagsAndAttributes")\r
 #define NSSM_REG_STDIO_COPY_AND_TRUNCATE _T("CopyAndTruncate")\r
+#define NSSM_REG_HOOK_SHARE_OUTPUT_HANDLES _T("AppRedirectHook")\r
 #define NSSM_REG_ROTATE _T("AppRotateFiles")\r
 #define NSSM_REG_ROTATE_ONLINE _T("AppRotateOnline")\r
 #define NSSM_REG_ROTATE_SECONDS _T("AppRotateSeconds")\r
 #define NSSM_STDIO_LENGTH 29\r
 \r
 HKEY open_service_registry(const TCHAR *, REGSAM sam, bool);\r
+long open_registry(const TCHAR *, const TCHAR *, REGSAM sam, HKEY *, bool);\r
 HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam, bool);\r
 HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam);\r
 HKEY open_registry(const TCHAR *, REGSAM sam);\r
+long enumerate_registry_values(HKEY, unsigned long *, TCHAR *, unsigned long);\r
 int create_messages();\r
 int create_parameters(nssm_service_t *, bool);\r
 int create_exit_action(TCHAR *, const TCHAR *, bool);\r
@@ -57,6 +60,9 @@ int get_number(HKEY, TCHAR *, unsigned long *, bool);
 int get_number(HKEY, TCHAR *, unsigned long *);\r
 int format_double_null(TCHAR *, unsigned long, TCHAR **, unsigned long *);\r
 int unformat_double_null(TCHAR *, unsigned long, TCHAR **, unsigned long *);\r
+int copy_double_null(TCHAR *, unsigned long, TCHAR **);\r
+int append_to_double_null(TCHAR *, unsigned long, TCHAR **, unsigned long *, TCHAR *, size_t, bool);\r
+int remove_from_double_null(TCHAR *, unsigned long, TCHAR **, unsigned long *, TCHAR *, size_t, bool);\r
 void override_milliseconds(TCHAR *, HKEY, TCHAR *, unsigned long *, unsigned long, unsigned long);\r
 int get_io_parameters(nssm_service_t *, HKEY);\r
 int get_parameters(nssm_service_t *, STARTUPINFO *);\r