Correct label on file rotation GUI.
[nssm.git] / registry.h
index ffdf3d6..34d75f3 100644 (file)
@@ -8,6 +8,7 @@
 #define NSSM_REG_ENV _T("AppEnvironment")\r
 #define NSSM_REG_ENV_EXTRA _T("AppEnvironmentExtra")\r
 #define NSSM_REG_EXIT _T("AppExit")\r
+#define NSSM_REG_RESTART_DELAY _T("AppRestartDelay")\r
 #define NSSM_REG_THROTTLE _T("AppThrottle")\r
 #define NSSM_REG_STOP_METHOD_SKIP _T("AppStopMethodSkip")\r
 #define NSSM_REG_KILL_CONSOLE_GRACE_PERIOD _T("AppStopMethodConsole")\r
 #define NSSM_REG_STDIO_SHARING _T("ShareMode")\r
 #define NSSM_REG_STDIO_DISPOSITION _T("CreationDisposition")\r
 #define NSSM_REG_STDIO_FLAGS _T("FlagsAndAttributes")\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_REG_ROTATE_BYTES_LOW _T("AppRotateBytes")\r
+#define NSSM_REG_ROTATE_BYTES_HIGH _T("AppRotateBytesHigh")\r
+#define NSSM_REG_PRIORITY _T("AppPriority")\r
+#define NSSM_REG_AFFINITY _T("AppAffinity")\r
+#define NSSM_REG_NO_CONSOLE _T("AppNoConsole")\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 *);\r
-int create_exit_action(TCHAR *, const TCHAR *);\r
-int set_environment(TCHAR *, HKEY, TCHAR *, TCHAR **, unsigned long *);\r
+int create_parameters(nssm_service_t *, bool);\r
+int create_exit_action(TCHAR *, const TCHAR *, bool);\r
+int get_environment(TCHAR *, HKEY, TCHAR *, TCHAR **, unsigned long *);\r
+int get_string(HKEY, TCHAR *, TCHAR *, unsigned long, bool, bool, bool);\r
+int get_string(HKEY, TCHAR *, TCHAR *, unsigned long, bool);\r
 int expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool, bool);\r
 int expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool);\r
+int set_string(HKEY, TCHAR *, TCHAR *, bool);\r
+int set_string(HKEY, TCHAR *, TCHAR *);\r
 int set_expand_string(HKEY, TCHAR *, TCHAR *);\r
 int set_number(HKEY, TCHAR *, unsigned long);\r
 int get_number(HKEY, TCHAR *, unsigned long *, bool);\r
 int get_number(HKEY, TCHAR *, unsigned long *);\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
-int get_exit_action(TCHAR *, unsigned long *, TCHAR *, bool *);\r
+int get_exit_action(const TCHAR *, unsigned long *, TCHAR *, bool *);\r
 \r
 #endif\r