diff options
Diffstat (limited to 'assuan/assuan-defs.h')
-rw-r--r-- | assuan/assuan-defs.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/assuan/assuan-defs.h b/assuan/assuan-defs.h index 7d55aabd..6c502bf9 100644 --- a/assuan/assuan-defs.h +++ b/assuan/assuan-defs.h @@ -77,6 +77,9 @@ struct assuan_context_s { In socket mode, the pid of the server */ int listen_fd; /* The fd we are listening on (used by socket servers) */ + pid_t client_pid; /* for a socket server the PID of the client or -1 + if not available */ + void (*deinit_handler)(ASSUAN_CONTEXT); int (*accept_handler)(ASSUAN_CONTEXT); int (*finish_handler)(ASSUAN_CONTEXT); @@ -92,7 +95,6 @@ struct assuan_context_s { void (*input_notify_fnc)(ASSUAN_CONTEXT, const char *); void (*output_notify_fnc)(ASSUAN_CONTEXT, const char *); - int input_fd; /* set by INPUT command */ int output_fd; /* set by OUTPUT command */ @@ -135,9 +137,3 @@ void _assuan_log_sanitized_string (const char *string); #endif /*ASSUAN_DEFS_H*/ - - - - - - |