X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=nssm.h;h=d297527453c1c1b3d4facc950307a7ac67591ad1;hb=e42e6900a5dad50b952d92c57344fdea2e13646e;hp=0e918c3c9c2925d07428a04b6104c3a7874be13a;hpb=cb641f9b0c4a2987c8fb4fe4ff431ecb660a924f;p=nssm.git diff --git a/nssm.h b/nssm.h index 0e918c3..d297527 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" @@ -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