diff options
Diffstat (limited to '')
-rw-r--r-- | src/assuan-defs.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/assuan-defs.h b/src/assuan-defs.h index bd0cbc8..8ce5f99 100644 --- a/src/assuan-defs.h +++ b/src/assuan-defs.h @@ -95,6 +95,9 @@ struct assuan_context_s /* Callback handlers replacing system I/O functions. */ struct assuan_system_hooks system; + int peercred_valid; /* Whether this structure has valid information. */ + struct _assuan_peercred peercred; + /* Now come the members specific to subsystems or engines. FIXME: This is not developed yet. See below for the legacy members. */ struct @@ -169,15 +172,6 @@ struct assuan_context_s assuan_sock_nonce_t listen_nonce; /* Used with LISTEN_FD. */ assuan_fd_t connected_fd; /* helper */ - struct { - int valid; /* Whether this structure has valid information. */ -#ifdef HAVE_SO_PEERCRED - pid_t pid; /* The pid of the peer. */ - uid_t uid; /* The uid of the peer. */ - gid_t gid; /* The gid of the peer. */ -#endif /* HAVE_SO_PEERCRED */ - } peercred; - /* Used for Unix domain sockets. */ struct sockaddr_un myaddr; struct sockaddr_un serveraddr; |