X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.h;h=38387004e603a76e361eb395e2b49a9a9e29acf0;hb=5078d2360f13ed4e122d21202f06d0a97b75b458;hp=4f80a603d830aa2a08b244751da7f001e1ca4521;hpb=c425384408cb392f23cbef66d385e2e589a5e516;p=nssm.git diff --git a/service.h b/service.h index 4f80a60..3838700 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,9 +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 *); int monitor_service(); int start_service(); -int stop_service(unsigned long); +int stop_service(unsigned long, bool, bool); void CALLBACK end_service(void *, unsigned char); +void throttle_restart(); #endif