X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=nssm.h;h=e50f94660abbbff4ce646aca4b914a4ce254cd31;hb=ee9a86c8408feaf173733aea12a80211e5d74483;hp=118d20fe58bdcb6e438dd505b3d654f8bf0af0c9;hpb=caaaa1208f29647987173f7d9bc1aa75b58757b7;p=nssm.git diff --git a/nssm.h b/nssm.h index 118d20f..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,7 +62,9 @@ #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 *); int str_number(const TCHAR *, unsigned long *, TCHAR **); int str_number(const TCHAR *, unsigned long *); @@ -153,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