From 536b6ab09fa3e17f955c8b55e8469f3265a1936f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 13 Oct 2009 19:17:24 +0000 Subject: Keep on hacking on g13. A simple --create and --mount does now work. A hacked up encfs is required. --- common/exechelp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common/exechelp.h') diff --git a/common/exechelp.h b/common/exechelp.h index 3d70e1096..8f056891c 100644 --- a/common/exechelp.h +++ b/common/exechelp.h @@ -86,6 +86,12 @@ gpg_error_t gnupg_spawn_process_fd (const char *pgmname, gpg_error_t gnupg_wait_process (const char *pgmname, pid_t pid, int *exitcode); +/* Kill a process; that is send an appropriate signal to the process. + gnupg_wait_process must be called to actually remove the process + from the system. An invalid PID is ignored. */ +void gnupg_kill_process (pid_t pid); + + /* Spawn a new process and immediatley detach from it. The name of the program to exec is PGMNAME and its arguments are in ARGV (the programname is automatically passed as first argument). -- cgit v1.2.3