X-Git-Url: http://git.iain.cx/?p=nssm.git;a=blobdiff_plain;f=service.h;h=46664de37f4bcc2547e6dde3145431a6b047e325;hp=7e8d0ab683263279eb7f05856dd5cd585a67af1d;hb=HEAD;hpb=de47d8ddf95aeddbdcaf0d9ecf2d126aae9a5df7 diff --git a/service.h b/service.h index 7e8d0ab..46664de 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; @@ -155,6 +156,7 @@ int pre_edit_service(int, TCHAR **); int install_service(nssm_service_t *); int remove_service(nssm_service_t *); int edit_service(nssm_service_t *, bool); +int control_service(unsigned long, int, TCHAR **, bool); int control_service(unsigned long, int, TCHAR **); void set_service_recovery(nssm_service_t *); int monitor_service(nssm_service_t *); @@ -163,6 +165,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