aboutsummaryrefslogtreecommitdiffstats
path: root/assuan/assuan-defs.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-02-18 20:45:52 +0000
committerWerner Koch <[email protected]>2002-02-18 20:45:52 +0000
commita46e786221dc2c08960acdfd94cab35729f0891d (patch)
treee50198672b8181aae4fb9f56be5283c91ab8e1f8 /assuan/assuan-defs.h
parent* command.c (cmd_marktrusted): Implemented. (diff)
downloadgnupg-a46e786221dc2c08960acdfd94cab35729f0891d.tar.gz
gnupg-a46e786221dc2c08960acdfd94cab35729f0891d.zip
A bunch of new features. Allow empty responses on an inquiry.
Diffstat (limited to '')
-rw-r--r--assuan/assuan-defs.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/assuan/assuan-defs.h b/assuan/assuan-defs.h
index 7d55aabd9..6c502bf9c 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*/
-
-
-
-
-
-