X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=nssm.h;h=e50f94660abbbff4ce646aca4b914a4ce254cd31;hb=62f28c55d444d846579159133dbe091809a2c08b;hp=5709bd6aa0bb693bdbd1cfcb7eafad2e6de5baa9;hpb=2a259b54caa08ef6d4dbc99f6fe7ec97837c25e8;p=nssm.git diff --git a/nssm.h b/nssm.h index 5709bd6..e50f946 100644 --- a/nssm.h +++ b/nssm.h @@ -46,6 +46,7 @@ #include #include #include +#include "utf8.h" #include "service.h" #include "account.h" #include "console.h" @@ -61,6 +62,7 @@ #include "gui.h" #endif +void nssm_exit(int); int str_equiv(const TCHAR *, const TCHAR *); int quote(const TCHAR *, TCHAR *, size_t); void strip_basename(TCHAR *); @@ -154,4 +156,7 @@ const TCHAR *nssm_exe(); /* How many milliseconds to wait for outstanding hooks. */ #define NSSM_HOOK_THREAD_DEADLINE 80000 +/* How many milliseconds to wait for closing logging thread. */ +#define NSSM_CLEANUP_LOGGERS_DEADLINE 1500 + #endif