X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;ds=sidebyside;f=registry.h;h=3c64b5dcdb529f3d3597130f8be3b3f75858db0d;hb=728c4f6eb96313e764600810aa754663a5091f38;hp=0661b7304287a75db50ec182ae0e09f2c906ad93;hpb=b3a4446ab363b5895aa2e04c645ed5d5dfa00442;p=nssm.git diff --git a/registry.h b/registry.h index 0661b73..3c64b5d 100644 --- a/registry.h +++ b/registry.h @@ -6,6 +6,7 @@ #define NSSM_REG_FLAGS "AppParameters" #define NSSM_REG_DIR "AppDirectory" #define NSSM_REG_ENV "AppEnvironment" +#define NSSM_REG_ENV_EXTRA "AppEnvironmentExtra" #define NSSM_REG_EXIT "AppExit" #define NSSM_REG_THROTTLE "AppThrottle" #define NSSM_REG_STOP_METHOD_SKIP "AppStopMethodSkip" @@ -23,7 +24,7 @@ int create_messages(); int create_parameters(nssm_service_t *); int create_exit_action(char *, const char *); -int set_environment(char *, HKEY, char **); +int set_environment(char *, HKEY, char *, char **, unsigned long *); int expand_parameter(HKEY, char *, char *, unsigned long, bool, bool); int expand_parameter(HKEY, char *, char *, unsigned long, bool); int set_expand_string(HKEY, char *, char *);