X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.h;h=2db92fd069e95d6894b0383a8df2ceaa149fe9cc;hb=40792fac2ef98e69c331b9cd5a9279dc3e1eb730;hp=fb52c16cacbadc39f04ee865eeae6865768d7440;hpb=b465216f3ec97443952f64ba5d068354c1296d3c;p=nssm.git diff --git a/service.h b/service.h index fb52c16..2db92fd 100644 --- a/service.h +++ b/service.h @@ -4,6 +4,8 @@ #define ACTION_LEN 16 void WINAPI service_main(unsigned long, char **); +char *service_control_text(unsigned long); +void log_service_control(char *, unsigned long, bool); unsigned long WINAPI service_control_handler(unsigned long, unsigned long, void *, void *); SC_HANDLE open_service_manager(); @@ -11,10 +13,11 @@ int pre_install_service(int, char **); int pre_remove_service(int, char **); int install_service(char *, char *, char *); int remove_service(char *); -void set_service_recovery(char *); +void set_service_recovery(SC_HANDLE, char *); int monitor_service(); int start_service(); int stop_service(unsigned long, bool, bool); void CALLBACK end_service(void *, unsigned char); +void throttle_restart(); #endif