aboutsummaryrefslogtreecommitdiffstats
path: root/tpm2d/tpm2daemon.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-03-31 12:03:13 +0000
committerNIIBE Yutaka <[email protected]>2022-03-31 12:03:13 +0000
commitf584ad95048279b244083fee330c5741be2b9da7 (patch)
tree5f690c323251541b47b23b3d9e5caf02a73c0531 /tpm2d/tpm2daemon.h
parentdirmngr: Fix for SOCK. (diff)
downloadgnupg-f584ad95048279b244083fee330c5741be2b9da7.tar.gz
gnupg-f584ad95048279b244083fee330c5741be2b9da7.zip
scd,tpm2d: Fix for consistent use of socket FD.
* scd/command.c (scd_command_handler): Use gnupg_fd_t for the argument but no INT2FD to listen. Use GNUPG_INVALID_FD. * tpm2d/command.c (tpm2d_command_handler): Likewise. * scd/scdaemon.c (start_connection_thread): Follow the change. * tpm2d/tpm2daemon.c (start_connection_thread): Likewise. * scd/scdaemon.h (scd_command_handler): Use gnupg_fd_t. * tpm2d/tpm2daemon.h (tpm2d_command_handler): Likewise. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tpm2d/tpm2daemon.h')
-rw-r--r--tpm2d/tpm2daemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpm2d/tpm2daemon.h b/tpm2d/tpm2daemon.h
index 095978a5b..29db7a869 100644
--- a/tpm2d/tpm2daemon.h
+++ b/tpm2d/tpm2daemon.h
@@ -92,7 +92,7 @@ void tpm2d_exit (int rc);
/*-- command.c --*/
gpg_error_t initialize_module_command (void);
-int tpm2d_command_handler (ctrl_t, int);
+int tpm2d_command_handler (ctrl_t, gnupg_fd_t);
void send_client_notifications (app_t app, int removal);
void tpm2d_kick_the_loop (void);
int get_active_connection_count (void);