Allow appending to the service environment.
[nssm.git] / registry.h
index 0661b73..3c64b5d 100644 (file)
@@ -6,6 +6,7 @@
 #define NSSM_REG_FLAGS "AppParameters"\r
 #define NSSM_REG_DIR "AppDirectory"\r
 #define NSSM_REG_ENV "AppEnvironment"\r
+#define NSSM_REG_ENV_EXTRA "AppEnvironmentExtra"\r
 #define NSSM_REG_EXIT "AppExit"\r
 #define NSSM_REG_THROTTLE "AppThrottle"\r
 #define NSSM_REG_STOP_METHOD_SKIP "AppStopMethodSkip"\r
@@ -23,7 +24,7 @@
 int create_messages();\r
 int create_parameters(nssm_service_t *);\r
 int create_exit_action(char *, const char *);\r
-int set_environment(char *, HKEY, char **);\r
+int set_environment(char *, HKEY, char *, char **, unsigned long *);\r
 int expand_parameter(HKEY, char *, char *, unsigned long, bool, bool);\r
 int expand_parameter(HKEY, char *, char *, unsigned long, bool);\r
 int set_expand_string(HKEY, char *, char *);\r