X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=registry.h;h=25ba0917798b06509cc32f768b6d1340ab2ca0b3;hb=cc956aacde93d93f5810ca4c0df7775d1bfe3458;hp=d8018ac15132cba44e83a6218e148c248032b4da;hpb=6adc886e1fa296f67aacef0c01994e302e8caf86;p=nssm.git diff --git a/registry.h b/registry.h index d8018ac..25ba091 100644 --- a/registry.h +++ b/registry.h @@ -32,6 +32,7 @@ #define NSSM_REG_ROTATE_BYTES_LOW _T("AppRotateBytes") #define NSSM_REG_ROTATE_BYTES_HIGH _T("AppRotateBytesHigh") #define NSSM_REG_ROTATE_DELAY _T("AppRotateDelay") +#define NSSM_REG_TIMESTAMP_LOG _T("AppTimestampLog") #define NSSM_REG_PRIORITY _T("AppPriority") #define NSSM_REG_AFFINITY _T("AppAffinity") #define NSSM_REG_NO_CONSOLE _T("AppNoConsole") @@ -43,6 +44,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); @@ -59,6 +61,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 *);