Allow listing all services.
[nssm.git] / service.h
index 1a1b263..a8e0bcf 100644 (file)
--- a/service.h
+++ b/service.h
@@ -138,6 +138,8 @@ void cleanup_nssm_service(nssm_service_t *);
 SC_HANDLE open_service_manager(unsigned long);\r
 SC_HANDLE open_service(SC_HANDLE, TCHAR *, unsigned long, TCHAR *, unsigned long);\r
 QUERY_SERVICE_CONFIG *query_service_config(const TCHAR *, SC_HANDLE);\r
+int append_to_dependencies(TCHAR *, unsigned long, TCHAR *, TCHAR **, unsigned long *, int);\r
+int remove_from_dependencies(TCHAR *, unsigned long, TCHAR *, TCHAR **, unsigned long *, int);\r
 int set_service_dependencies(const TCHAR *, SC_HANDLE, TCHAR *);\r
 int get_service_dependencies(const TCHAR *, SC_HANDLE, TCHAR **, unsigned long *, int);\r
 int get_service_dependencies(const TCHAR *, SC_HANDLE, TCHAR **, unsigned long *);\r
@@ -161,6 +163,7 @@ int stop_service(nssm_service_t *, unsigned long, bool, bool);
 void CALLBACK end_service(void *, unsigned char);\r
 void throttle_restart(nssm_service_t *);\r
 int await_single_handle(SERVICE_STATUS_HANDLE, SERVICE_STATUS *, HANDLE, TCHAR *, TCHAR *, unsigned long);\r
-int list_nssm_services();\r
+int list_nssm_services(int, TCHAR **);\r
+int service_process_tree(int, TCHAR **);\r
 \r
 #endif\r