diff options
author | Werner Koch <[email protected]> | 2007-10-02 08:44:21 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-10-02 08:44:21 +0000 |
commit | 28f7b6e0413097e91d9f28da028064d1ba9071eb (patch) | |
tree | 0bb5bd56293ab5f3a7548cece238c35696d47513 /src/assuan-defs.h | |
parent | Add socket wrapper API. (diff) | |
download | libassuan-28f7b6e0413097e91d9f28da028064d1ba9071eb.tar.gz libassuan-28f7b6e0413097e91d9f28da028064d1ba9071eb.zip |
Add new API assuan_set_sock_nonce.
Fixed a blocking problem on Windows.
Diffstat (limited to 'src/assuan-defs.h')
-rw-r--r-- | src/assuan-defs.h | 5 |
1 files changed, 3 insertions, 2 deletions
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, |