summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog4
-rw-r--r--doc/assuan.texi9
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 95441d5..c567640 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-14 Werner Koch <wk@g10code.com>
+
+ * assuan.texi (Utilities): Describe assuan_get_command_name.
+
2009-09-21 Marcus Brinkmann <marcus@g10code.de>
* assuan.texi: Update to new API.
diff --git a/doc/assuan.texi b/doc/assuan.texi
index a3ec0a3..adfc86d 100644
--- a/doc/assuan.texi
+++ b/doc/assuan.texi
@@ -1675,6 +1675,15 @@ functions like @code{fdopen} or @code{dup}.
@end deftypefun
+@deftypefun @w{const char *} assuan_get_command_name (@w{assuan_context_t @var{ctx}})
+
+Return the name of the command currently processed by a handler.
+The returned string is valid until the next call to an Assuan
+function on the same context. Returns @code{NULL} if no handler is
+executed or the command is not known.
+@end deftypefun
+
+
@deftypefun int assuan_get_input_fd (@w{assuan_context_t @var{ctx}})
Return the file descriptor sent by the client using the last @code{INPUT}