summaryrefslogtreecommitdiff
path: root/src/assuan-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan-defs.h')
-rw-r--r--src/assuan-defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/assuan-defs.h b/src/assuan-defs.h
index c20cef5..95706d6 100644
--- a/src/assuan-defs.h
+++ b/src/assuan-defs.h
@@ -200,6 +200,11 @@ struct assuan_context_s
struct cmdtbl_s *cmdtbl;
size_t cmdtbl_used; /* used entries */
size_t cmdtbl_size; /* allocated size of table */
+
+ /* The name of the command currently processed by a command handler.
+ This is a pointer into CMDTBL. NULL if not in a command
+ handler. */
+ const char *current_cmd_name;
void (*bye_notify_fnc)(assuan_context_t);
void (*reset_notify_fnc)(assuan_context_t);