]> code.citadel.org Git - citadel.git/blobdiff - citadel/context.h
Add PID/GID/UID of communications parters with unix domain sockets to login-loglines.
[citadel.git] / citadel / context.h
index b4607da63dc8ca37ab65b512b867722ce83c19b6..3b05a2b0d8a7dd1659cdea2eeae93685f0208669 100644 (file)
@@ -63,6 +63,7 @@ struct CitContext {
        int cs_clientdev;       /* client developer ID */
        int cs_clienttyp;       /* client type code */
        int cs_clientver;       /* client version number */
+       char cs_clientinfo[256];/* if its a unix domain socket, some info for logging. */
        uid_t cs_UDSclientUID;  /* the uid of the client when talking via UDS */
        char cs_clientname[32]; /* name of client software */
        char cs_host[64];       /* host logged in from */