X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=registry.h;h=348c0c4ef90a5991331c4fb8bf99e5324fb1b543;hb=4c009756eefa8c649e3d97673da7b2477d33cf37;hp=600c1886b543df5e6e8982f98b6aa6547768b20c;hpb=2f219930f488b2551326900df5c201de2e9304f2;p=nssm.git diff --git a/registry.h b/registry.h index 600c188..348c0c4 100644 --- a/registry.h +++ b/registry.h @@ -25,9 +25,11 @@ #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 *); -int create_exit_action(TCHAR *, const TCHAR *); +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 expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool, bool); int expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool); @@ -37,6 +39,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