summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-02-24 15:50:55 +0000
committerWerner Koch <wk@gnupg.org>2010-02-24 15:50:55 +0000
commitd20a4d4c79d4f12021383a7aeb5c34a861d858a4 (patch)
treeff2439480e53487d070a20b22faa2fc717b8af63 /doc
parent09633587a0f0301cfef5a745e58c47afb92fce99 (diff)
downloadlibassuan-d20a4d4c79d4f12021383a7aeb5c34a861d858a4.tar.gz
A couple of changes to eventually fully support W32ce.
Diffstat (limited to 'doc')
-rw-r--r--doc/assuan.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/assuan.texi b/doc/assuan.texi
index 28b68d1..1b86768 100644
--- a/doc/assuan.texi
+++ b/doc/assuan.texi
@@ -216,7 +216,7 @@ octets. The default IPC mechanism is Unix Domain Sockets.
On a connect request the server responds either with an okay or an
error status. For authentication-check the server may send an Inquiry
-Response prior to the first Okay, and it may also issue Status
+response prior to the first Okay, and it may also issue Status
messages. The server must check that the client is allowed to
connect, this is done by requesting the credentials for the peer and
comparing them to those of the server. This avoids attacks based on
@@ -1379,7 +1379,8 @@ an @code{INPUT} command has been seen and successfully parsed. The second
argument passed to that function is the entire line. Because that line
has already been parsed when the function gets called, a file descriptor
set with the @code{INPUT} command may already be used. That file
-descriptor is available by calling @code{assuan_get_input_fd}.
+descriptor is available by calling @code{assuan_get_input_fd}. If the
+notification function returns an error, the input fd does not change.
@end deftypefun
@deftypefun gpg_error_t assuan_register_output_notify (@w{assuan_context_t @var{ctx}}, @w{assuan_handler_t @var{handler}})
@@ -1390,7 +1391,8 @@ an @code{OUTPUT} command has been seen and successfully parsed. The second
argument passed to that function is the entire line. Because that line
has already been parsed when the function gets called, a file descriptor
set with the @code{OUTPUT} command may already be used. That file
-descriptor is available by calling @code{assuan_get_output_fd}.
+descriptor is available by calling @code{assuan_get_output_fd}. If the
+notification function returns an error, the output fd does not change.
@end deftypefun
@deftypefun gpg_error_t assuan_set_hello_line (@w{assuan_context_t @var{ctx}}, @w{const char *@var{line}})