X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.h;h=fb8a16050a3bd6622b8908b60984227a6a263d54;hb=cc956aacde93d93f5810ca4c0df7775d1bfe3458;hp=1a1b2637707350b8106cd18241572c160b68641a;hpb=6adc886e1fa296f67aacef0c01994e302e8caf86;p=nssm.git diff --git a/service.h b/service.h index 1a1b263..fb8a160 100644 --- a/service.h +++ b/service.h @@ -77,6 +77,7 @@ typedef struct { unsigned long stderr_tid; bool hook_share_output_handles; bool rotate_files; + bool timestamp_log; bool stdout_copy_and_truncate; bool stderr_copy_and_truncate; unsigned long rotate_stdout_online; @@ -138,6 +139,8 @@ void cleanup_nssm_service(nssm_service_t *); SC_HANDLE open_service_manager(unsigned long); SC_HANDLE open_service(SC_HANDLE, TCHAR *, unsigned long, TCHAR *, unsigned long); QUERY_SERVICE_CONFIG *query_service_config(const TCHAR *, SC_HANDLE); +int append_to_dependencies(TCHAR *, unsigned long, TCHAR *, TCHAR **, unsigned long *, int); +int remove_from_dependencies(TCHAR *, unsigned long, TCHAR *, TCHAR **, unsigned long *, int); int set_service_dependencies(const TCHAR *, SC_HANDLE, TCHAR *); int get_service_dependencies(const TCHAR *, SC_HANDLE, TCHAR **, unsigned long *, int); int get_service_dependencies(const TCHAR *, SC_HANDLE, TCHAR **, unsigned long *); @@ -161,6 +164,7 @@ 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(); +int list_nssm_services(int, TCHAR **); +int service_process_tree(int, TCHAR **); #endif