1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* assuan-handler.c (assuan_register_bye_notify)

(assuan_register_reset_notify)
(assuan_register_cancel_notify): New and call them from the
standard handlers.
This commit is contained in:
Werner Koch 2001-11-25 14:53:39 +00:00
parent 922cedfe58
commit c0d12ef3fb
4 changed files with 55 additions and 2 deletions

View file

@ -69,6 +69,10 @@ struct assuan_context_s {
size_t cmdtbl_used; /* used entries */
size_t cmdtbl_size; /* allocated size of table */
void (*bye_notify_fnc)(ASSUAN_CONTEXT);
void (*cancel_notify_fnc)(ASSUAN_CONTEXT);
void (*reset_notify_fnc)(ASSUAN_CONTEXT);
int input_fd; /* set by INPUT command */
int output_fd; /* set by OUTPUT command */