X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=registry.h;h=7af093cb6aa67c46881ab4b770a96cfffccabb96;hb=9cf66b86846f97f0bd2efdfe2b8bd36ea0b00499;hp=564e67426683f2ac91f81552070ae51431be2e3c;hpb=2c60e5334f6df07bf42e7a91cf59638453eca473;p=nssm.git diff --git a/registry.h b/registry.h index 564e674..7af093c 100644 --- a/registry.h +++ b/registry.h @@ -25,10 +25,14 @@ #define NSSM_REG_ROTATE_BYTES_HIGH _T("AppRotateBytesHigh") #define NSSM_STDIO_LENGTH 29 +HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam); +HKEY open_registry(const TCHAR *, REGSAM sam); int create_messages(); int create_parameters(nssm_service_t *, bool); int create_exit_action(TCHAR *, const TCHAR *, bool); int set_environment(TCHAR *, HKEY, TCHAR *, TCHAR **, unsigned long *); +int format_environment(TCHAR *, unsigned long, TCHAR **, unsigned long *); +int unformat_environment(TCHAR *, unsigned long, TCHAR **, unsigned long *); int expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool, bool); int expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool); int set_expand_string(HKEY, TCHAR *, TCHAR *); @@ -37,6 +41,6 @@ int get_number(HKEY, TCHAR *, unsigned long *, bool); int get_number(HKEY, TCHAR *, unsigned long *); void override_milliseconds(TCHAR *, HKEY, TCHAR *, unsigned long *, unsigned long, unsigned long); int get_parameters(nssm_service_t *, STARTUPINFO *); -int get_exit_action(TCHAR *, unsigned long *, TCHAR *, bool *); +int get_exit_action(const TCHAR *, unsigned long *, TCHAR *, bool *); #endif