X-Git-Url: http://git.iain.cx/?p=nssm.git;a=blobdiff_plain;f=process.h;h=3b4aab92ee6ccfa9e4b69e0882f2f945b1e80c11;hp=de39cf004688972b0732ad67f52565c0e520f966;hb=586ea54f696a562ed3837b6b55e3fa1bbe1b2b22;hpb=b6d5dc93f294a2c781a7613c72169d0389137a3d diff --git a/process.h b/process.h index de39cf0..3b4aab9 100644 --- a/process.h +++ b/process.h @@ -1,11 +1,13 @@ #ifndef PROCESS_H #define PROCESS_H +#include #include typedef struct { TCHAR *name; HANDLE process_handle; + unsigned long depth; unsigned long pid; unsigned long exitcode; unsigned long stop_method; @@ -33,6 +35,8 @@ int kill_console(nssm_service_t *, kill_t *); int kill_console(kill_t *); int kill_process(nssm_service_t *, kill_t *); int kill_process(kill_t *); +int print_process(nssm_service_t *, kill_t *); +int print_process(kill_t *); void walk_process_tree(nssm_service_t *, walk_function_t, kill_t *, unsigned long); void kill_process_tree(kill_t *, unsigned long);