aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2024-07-03 06:23:58 +0000
committerNIIBE Yutaka <[email protected]>2024-07-03 06:23:58 +0000
commitc845adb5a1e48b0edd85a8eee7d9be99ff55cbd3 (patch)
treee0d410f975048f10d411fd536b6fb8460189a94a /common/exechelp.h
parentSince we use gpgrt_process_spawn API, remove the ones of GnuPG. (diff)
downloadgnupg-c845adb5a1e48b0edd85a8eee7d9be99ff55cbd3.tar.gz
gnupg-c845adb5a1e48b0edd85a8eee7d9be99ff55cbd3.zip
Use gnupg_fd_t for create_pipe_and_estream.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/exechelp.h')
-rw-r--r--common/exechelp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/exechelp.h b/common/exechelp.h
index be7119357..9f9b70514 100644
--- a/common/exechelp.h
+++ b/common/exechelp.h
@@ -56,13 +56,13 @@ int *get_all_open_fds (void);
/* Portable function to create a pipe. Under Windows the write end is
inheritable. If R_FP is not NULL, an estream is created for the
write end and stored at R_FP. */
-gpg_error_t gnupg_create_inbound_pipe (int filedes[2],
+gpg_error_t gnupg_create_inbound_pipe (gnupg_fd_t filedes[2],
estream_t *r_fp, int nonblock);
/* Portable function to create a pipe. Under Windows the read end is
inheritable. If R_FP is not NULL, an estream is created for the
write end and stored at R_FP. */
-gpg_error_t gnupg_create_outbound_pipe (int filedes[2],
+gpg_error_t gnupg_create_outbound_pipe (gnupg_fd_t filedes[2],
estream_t *r_fp, int nonblock);
/* Portable function to create a pipe. Under Windows both ends are