X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=registry.h;h=ad7cd7a45194027df5b0826f9ae0038966b25a2b;hb=ee9a86c8408feaf173733aea12a80211e5d74483;hp=0580aff37b0d2e1127738a210cd11f7f6af3e052;hpb=e26682667e15433cad518e622c3c061840b487dd;p=nssm.git diff --git a/registry.h b/registry.h index 0580aff..ad7cd7a 100644 --- a/registry.h +++ b/registry.h @@ -25,6 +25,7 @@ #define NSSM_REG_STDIO_DISPOSITION _T("CreationDisposition") #define NSSM_REG_STDIO_FLAGS _T("FlagsAndAttributes") #define NSSM_REG_STDIO_COPY_AND_TRUNCATE _T("CopyAndTruncate") +#define NSSM_REG_HOOK_SHARE_OUTPUT_HANDLES _T("AppRedirectHook") #define NSSM_REG_ROTATE _T("AppRotateFiles") #define NSSM_REG_ROTATE_ONLINE _T("AppRotateOnline") #define NSSM_REG_ROTATE_SECONDS _T("AppRotateSeconds") @@ -42,6 +43,7 @@ long open_registry(const TCHAR *, const TCHAR *, REGSAM sam, HKEY *, bool); HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam, bool); HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam); HKEY open_registry(const TCHAR *, REGSAM sam); +long enumerate_registry_values(HKEY, unsigned long *, TCHAR *, unsigned long); int create_messages(); int create_parameters(nssm_service_t *, bool); int create_exit_action(TCHAR *, const TCHAR *, bool); @@ -58,6 +60,9 @@ int get_number(HKEY, TCHAR *, unsigned long *, bool); int get_number(HKEY, TCHAR *, unsigned long *); int format_double_null(TCHAR *, unsigned long, TCHAR **, unsigned long *); int unformat_double_null(TCHAR *, unsigned long, TCHAR **, unsigned long *); +int copy_double_null(TCHAR *, unsigned long, TCHAR **); +int append_to_double_null(TCHAR *, unsigned long, TCHAR **, unsigned long *, TCHAR *, size_t, bool); +int remove_from_double_null(TCHAR *, unsigned long, TCHAR **, unsigned long *, TCHAR *, size_t, bool); void override_milliseconds(TCHAR *, HKEY, TCHAR *, unsigned long *, unsigned long, unsigned long); int get_io_parameters(nssm_service_t *, HKEY); int get_parameters(nssm_service_t *, STARTUPINFO *);