Moved environment functions to a new file.
[nssm.git] / registry.h
index 162b8b3..390e032 100644 (file)
@@ -35,10 +35,12 @@ 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 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