diff options
author | NIIBE Yutaka <[email protected]> | 2023-05-25 04:49:09 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-05-25 05:01:09 +0000 |
commit | 3bccb33ccd9028ff505d9979fd6c8a37393b892d (patch) | |
tree | ff36c2065b3e2fe11738d9068fdcbf012b814069 /src/assuan.h.in | |
parent | Allow use of global system hooks with API version 2. (diff) | |
download | libassuan-gniibe/t6487.tar.gz libassuan-gniibe/t6487.zip |
Add new pipe functions to control its server process.gniibe/t6487
* src/assuan-pipe-connect.c (assuan_pipe_wait_server_termination)
(assuan_pipe_kill_server): New.
* src/assuan.h.in: Add new functions.
* src/libassuan.def: Add symbols for those functions.
* src/libassuan.vers: Likewise.
* src/system-posix.c (__assuan_waitpid): Extend the semantics for
OPTIONS.
* src/system-w32.c (__assuan_waitpid): Likewise.
--
GnuPG-bug-id: 6487
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | src/assuan.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/assuan.h.in b/src/assuan.h.in index 30a243c..99444b8 100644 --- a/src/assuan.h.in +++ b/src/assuan.h.in @@ -514,6 +514,10 @@ int assuan_sock_get_nonce (struct sockaddr *addr, int addrlen, int assuan_sock_check_nonce (assuan_fd_t fd, assuan_sock_nonce_t *nonce); void assuan_sock_set_system_hooks (assuan_system_hooks_t system_hooks); +gpg_error_t assuan_pipe_wait_server_termination (assuan_context_t ctx, + int *status, int no_hang); + +gpg_error_t assuan_pipe_kill_server (assuan_context_t ctx); /* Set the default system callbacks. This is irreversible. */ void assuan_set_system_hooks (assuan_system_hooks_t system_hooks); |