aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/assuan.texi9
2 files changed, 9 insertions, 5 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 6106e35..e625175 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-05 Marcus Brinkmann <[email protected]>
+
+ * assuan.texi (External I/O Loop Server): Document change to
+ assuan_process_next.
+
2009-10-16 Marcus Brinkmann <[email protected]>
* assuan.texi: Remove documentation for thread support.
diff --git a/doc/assuan.texi b/doc/assuan.texi
index 5641aa0..eab2451 100644
--- a/doc/assuan.texi
+++ b/doc/assuan.texi
@@ -1524,8 +1524,8 @@ operation. When it returns, the inbound status FD may still be
readable, but Assuan does not check this.
The function @code{assuan_process_next} returns 0 if it can not make
-progress reliably, and it returns an end of file error value if the
-client closed the connection. See below for more information on this
+progress reliably, and it returns true in @code{done} if the client
+closed the connection. See below for more information on this
function.
@item
@@ -1562,11 +1562,10 @@ the client with @code{assuan_process_done}. For long running
operations, the server should send progress status messages to the
client in regular intervals to notice when the client disconnects.
-@deftypefun gpg_error_t assuan_process_next (@w{assuan_context_t @var{ctx}})
+@deftypefun gpg_error_t assuan_process_next (@w{assuan_context_t @var{ctx}}, @w{int *@var{done}})
This is the same as @code{assuan_process} but the caller has to
provide the outer loop. He should loop as long as the return code is
-zero and stop otherwise; @code{-1} or @code{GPG_ERR_EOF} indicate a
-regular end.
+zero and @var{done} is false.
@end deftypefun
@deftypefun gpg_error_t assuan_process_done (@w{assuan_context_t @var{ctx}}, @w{gpg_error_t @var{rc}})