X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=nssm.h;h=0e918c3c9c2925d07428a04b6104c3a7874be13a;hb=cb641f9b0c4a2987c8fb4fe4ff431ecb660a924f;hp=016906b0a281833b106e963b4c1278b97eb06456;hpb=0dbd368cea64108df8305eb470462c47739ae6e6;p=nssm.git diff --git a/nssm.h b/nssm.h index 016906b..0e918c3 100644 --- a/nssm.h +++ b/nssm.h @@ -10,14 +10,16 @@ #include "messages.h" #include "process.h" #include "registry.h" +#include "io.h" #include "service.h" #include "gui.h" int str_equiv(const char *, const char *); #define NSSM "nssm" -#define NSSM_VERSION "2.12" -#define NSSM_DATE "2012-05-07" +#define NSSM_VERSION "2.16" +#define NSSM_VERSIONINFO 2,16,0,0 +#define NSSM_DATE "2012-12-01" /* MSDN says the commandline in CreateProcess() is limited to 32768 characters @@ -38,6 +40,11 @@ int str_equiv(const char *, const char *); */ #define NSSM_RESET_THROTTLE_RESTART 1500 +/* + How many milliseconds to wait for the application to die after sending + a Control-C event to its console. +*/ +#define NSSM_KILL_CONSOLE_GRACE_PERIOD 1500 /* How many milliseconds to wait for the application to die after posting to its windows' message queues.