From 28f7b6e0413097e91d9f28da028064d1ba9071eb Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 2 Oct 2007 08:44:21 +0000 Subject: Add new API assuan_set_sock_nonce. Fixed a blocking problem on Windows. --- src/assuan-defs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/assuan-defs.h') diff --git a/src/assuan-defs.h b/src/assuan-defs.h index 6c992ef..3c06436 100644 --- a/src/assuan-defs.h +++ b/src/assuan-defs.h @@ -136,6 +136,7 @@ struct assuan_context_s pid_t pid; /* The pid of the peer. */ assuan_fd_t listen_fd; /* The fd we are listening on (used by socket servers) */ + assuan_sock_nonce_t listen_nonce; /* Used with LISTEN_FD. */ assuan_fd_t connected_fd; /* helper */ struct { @@ -186,8 +187,8 @@ struct assuan_context_s /* If set, this is called right before logging an I/O line. With DIRECTION set to 1 it is called for an output oeration; 0 means an input operation. If bit 0 is set in the return value, the - logging of the will be suppressed. With bit 1 set, the entire - line will be ignored. */ + logging of the line will be suppressed. With bit 1 set, the + entire line will be ignored. */ unsigned int (*io_monitor)(assuan_context_t ctx, int direction, const char *line, -- cgit v1.2.3