X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=nssm.h;h=0e918c3c9c2925d07428a04b6104c3a7874be13a;hb=cb641f9b0c4a2987c8fb4fe4ff431ecb660a924f;hp=2e73b9a7d6de4f0b50bf87c3eb740f25b1eded3f;hpb=5e7f7c21e254ba722d5d0d08c154792b82cf3f1d;p=nssm.git diff --git a/nssm.h b/nssm.h index 2e73b9a..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.14" -#define NSSM_DATE "2012-05-24" +#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.