X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=registry.h;h=564e67426683f2ac91f81552070ae51431be2e3c;hb=4d0f8abd0f891348080589ffacd1b9f1fd3faf41;hp=ffdf3d661cd57676f07c124c240b2f259af37186;hpb=5b9e64a9ae1fbf1254c9c246e5b123d3aa77a37a;p=nssm.git diff --git a/registry.h b/registry.h index ffdf3d6..564e674 100644 --- a/registry.h +++ b/registry.h @@ -19,11 +19,15 @@ #define NSSM_REG_STDIO_SHARING _T("ShareMode") #define NSSM_REG_STDIO_DISPOSITION _T("CreationDisposition") #define NSSM_REG_STDIO_FLAGS _T("FlagsAndAttributes") +#define NSSM_REG_ROTATE _T("AppRotateFiles") +#define NSSM_REG_ROTATE_SECONDS _T("AppRotateSeconds") +#define NSSM_REG_ROTATE_BYTES_LOW _T("AppRotateBytes") +#define NSSM_REG_ROTATE_BYTES_HIGH _T("AppRotateBytesHigh") #define NSSM_STDIO_LENGTH 29 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);