Allow setting application priority.
[nssm.git] / registry.h
index 348c0c4..6afa536 100644 (file)
@@ -23,6 +23,7 @@
 #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_STDIO_LENGTH 29\r
 \r
 HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam);\r
@@ -31,6 +32,8 @@ int create_messages();
 int create_parameters(nssm_service_t *, bool);\r
 int create_exit_action(TCHAR *, const TCHAR *, bool);\r
 int set_environment(TCHAR *, HKEY, TCHAR *, TCHAR **, unsigned long *);\r
+int format_environment(TCHAR *, unsigned long, TCHAR **, unsigned long *);\r
+int unformat_environment(TCHAR *, unsigned long, TCHAR **, unsigned long *);\r
 int expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool, bool);\r
 int expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool);\r
 int set_expand_string(HKEY, TCHAR *, TCHAR *);\r