diff options
author | Alexander Færøy <ahf@torproject.org> | 2018-11-23 03:44:59 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-17 16:39:28 -0500 |
commit | 4f611a1df70d2c5e4cb6261f75c1b82c9ed04598 (patch) | |
tree | 8f6c89be62eb526fa3459782c2f4a1e5b5ec42a2 /src/lib/process/process.h | |
parent | 338137221c8bd89f6d611c0cd3bf7b8a85d02517 (diff) | |
download | tor-4f611a1df70d2c5e4cb6261f75c1b82c9ed04598.tar.gz tor-4f611a1df70d2c5e4cb6261f75c1b82c9ed04598.zip |
Add process_terminate().
This patch adds support for process termination to the Process
subsystem.
See: https://bugs.torproject.org/28179
Diffstat (limited to 'src/lib/process/process.h')
-rw-r--r-- | src/lib/process/process.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/process/process.h b/src/lib/process/process.h index 7fd6cf53d0..c6b733a065 100644 --- a/src/lib/process/process.h +++ b/src/lib/process/process.h @@ -66,6 +66,7 @@ void process_free_(process_t *process); #define process_free(s) FREE_AND_NULL(process_t, process_free_, (s)) process_status_t process_exec(process_t *process); +bool process_terminate(process_t *process); process_pid_t process_get_pid(process_t *process); |