X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;ds=sidebyside;f=service.h;h=45680cf3de74ee169f659ba4ffd146a52ecff7f8;hb=2cd1c7c29ef4d2d3df3c5afd3ca6c788aede2bef;hp=8549fee726c1ef976d41410b325f61f3090feb63;hpb=d69db812fe68fb913f65e6aa8ac8584ee079c0c6;p=nssm.git diff --git a/service.h b/service.h index 8549fee..45680cf 100644 --- a/service.h +++ b/service.h @@ -28,6 +28,10 @@ #define NSSM_SHARE_INTERACTIVE_PROCESS NSSM_WIN32_SHARE_PROCESS _T("|") NSSM_INTERACTIVE_PROCESS #define NSSM_UNKNOWN _T("?") +#define NSSM_ROTATE_OFFLINE 0 +#define NSSM_ROTATE_ONLINE 1 +#define NSSM_ROTATE_ONLINE_ASAP 2 + typedef struct { bool native; TCHAR name[SERVICE_NAME_LENGTH]; @@ -68,8 +72,8 @@ typedef struct { HANDLE stderr_thread; unsigned long stderr_tid; bool rotate_files; - bool rotate_stdout_online; - bool rotate_stderr_online; + unsigned long rotate_stdout_online; + unsigned long rotate_stderr_online; unsigned long rotate_seconds; unsigned long rotate_bytes_low; unsigned long rotate_bytes_high;