X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=nssm.h;h=b5d457e71d887c5c94a1b1cfff24ac416c80cab7;hb=4142e6c279f302b6b43e4e4d41ea7afaa89293a0;hp=0e918c3c9c2925d07428a04b6104c3a7874be13a;hpb=cb641f9b0c4a2987c8fb4fe4ff431ecb660a924f;p=nssm.git diff --git a/nssm.h b/nssm.h index 0e918c3..b5d457e 100644 --- a/nssm.h +++ b/nssm.h @@ -7,6 +7,7 @@ #include #include #include "event.h" +#include "imports.h" #include "messages.h" #include "process.h" #include "registry.h" @@ -17,9 +18,9 @@ int str_equiv(const char *, const char *); #define NSSM "nssm" -#define NSSM_VERSION "2.16" -#define NSSM_VERSIONINFO 2,16,0,0 -#define NSSM_DATE "2012-12-01" +#define NSSM_VERSION "2.17" +#define NSSM_VERSIONINFO 2,17,0,0 +#define NSSM_DATE "2013-11-12" /* MSDN says the commandline in CreateProcess() is limited to 32768 characters @@ -59,4 +60,10 @@ int str_equiv(const char *, const char *); /* Margin of error for service status wait hints in milliseconds. */ #define NSSM_WAITHINT_MARGIN 2000 +/* Methods used to try to stop the application. */ +#define NSSM_STOP_METHOD_CONSOLE (1 << 0) +#define NSSM_STOP_METHOD_WINDOW (1 << 1) +#define NSSM_STOP_METHOD_THREADS (1 << 2) +#define NSSM_STOP_METHOD_TERMINATE (1 << 3) + #endif