X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.h;h=3a807513461de0dacbc74a61ba16bf73529172ae;hb=1f0b03b38f7d76814d1c7c627f64462362100223;hp=187b57df27213a46e6b48dc0ba45e5442080855e;hpb=32a1d0fab47a050086106aac346342c70f4d985b;p=nssm.git diff --git a/service.h b/service.h index 187b57d..3a80751 100644 --- a/service.h +++ b/service.h @@ -140,8 +140,8 @@ int set_service_description(const TCHAR *, SC_HANDLE, TCHAR *); int get_service_description(const TCHAR *, SC_HANDLE, unsigned long, TCHAR *); int get_service_startup(const TCHAR *, SC_HANDLE, const QUERY_SERVICE_CONFIG *, unsigned long *); int get_service_username(const TCHAR *, const QUERY_SERVICE_CONFIG *, TCHAR **, size_t *); -int set_service_environment(nssm_service_t *); -int unset_service_environment(nssm_service_t *); +void set_service_environment(nssm_service_t *); +void unset_service_environment(nssm_service_t *); int pre_install_service(int, TCHAR **); int pre_remove_service(int, TCHAR **); int pre_edit_service(int, TCHAR **); @@ -156,5 +156,6 @@ int stop_service(nssm_service_t *, unsigned long, bool, bool); void CALLBACK end_service(void *, unsigned char); void throttle_restart(nssm_service_t *); int await_single_handle(SERVICE_STATUS_HANDLE, SERVICE_STATUS *, HANDLE, TCHAR *, TCHAR *, unsigned long); +int list_nssm_services(); #endif