X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.h;fp=service.h;h=9208b2ecbb81c9691d3bb0065f8506d410db4ac4;hb=0dfa0fdb3a851b1ff69a0f0b308a3e1371286a57;hp=00428d0e170233288e561cc41d76d2a1d2834ed3;hpb=14d5a10605085a499136744b66936c75b6f0ccd4;p=nssm.git diff --git a/service.h b/service.h index 00428d0..9208b2e 100644 --- a/service.h +++ b/service.h @@ -46,6 +46,8 @@ typedef struct { TCHAR dir[DIR_LENGTH]; TCHAR *env; __int64 affinity; + TCHAR *dependencies; + unsigned long dependencieslen; unsigned long envlen; TCHAR *env_extra; unsigned long env_extralen; @@ -119,6 +121,9 @@ 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 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 *); 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 *);