X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.h;fp=service.h;h=6a30af6ad6383f3c1e8a9a21252b811f75525fc4;hb=2f2f64b07611fe0709bf4d502de7cac292dc1975;hp=0394278cfbf7c5fb1fd732a089adabc4d4cd7994;hpb=a90eade7d022451e92bedcebe816651df7bf0d17;p=nssm.git diff --git a/service.h b/service.h index 0394278..6a30af6 100644 --- a/service.h +++ b/service.h @@ -94,17 +94,25 @@ typedef struct { HANDLE process_handle; unsigned long pid; HANDLE wait_handle; + unsigned long exitcode; bool stopping; bool allow_restart; unsigned long throttle; CRITICAL_SECTION throttle_section; bool throttle_section_initialised; + CRITICAL_SECTION hook_section; + bool hook_section_initialised; CONDITION_VARIABLE throttle_condition; HANDLE throttle_timer; LARGE_INTEGER throttle_duetime; + FILETIME nssm_creation_time; FILETIME creation_time; FILETIME exit_time; TCHAR *initial_env; + unsigned long last_control; + unsigned long start_requested_count; + unsigned long start_count; + unsigned long exit_count; } nssm_service_t; void WINAPI service_main(unsigned long, TCHAR **);