aboutsummaryrefslogtreecommitdiff
path: root/src/lib/process/process_unix.h
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2018-11-23 03:44:59 +0100
committerNick Mathewson <nickm@torproject.org>2018-12-17 16:39:28 -0500
commit4f611a1df70d2c5e4cb6261f75c1b82c9ed04598 (patch)
tree8f6c89be62eb526fa3459782c2f4a1e5b5ec42a2 /src/lib/process/process_unix.h
parent338137221c8bd89f6d611c0cd3bf7b8a85d02517 (diff)
downloadtor-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_unix.h')
-rw-r--r--src/lib/process/process_unix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/process/process_unix.h b/src/lib/process/process_unix.h
index 0474746b26..e17c59ea81 100644
--- a/src/lib/process/process_unix.h
+++ b/src/lib/process/process_unix.h
@@ -29,6 +29,7 @@ void process_unix_free_(process_unix_t *unix_process);
FREE_AND_NULL(process_unix_t, process_unix_free_, (s))
process_status_t process_unix_exec(struct process_t *process);
+bool process_unix_terminate(struct process_t *process);
process_pid_t process_unix_get_pid(struct process_t *process);