]> code.citadel.org Git - citadel.git/blobdiff - citadel/server.h
* add support for reading the UID via getsockopt from unix domain socket conneciotns...
[citadel.git] / citadel / server.h
index 9fc9ca6ec2458f798b5d3e230ac74b46770aec02..a926a3c14c05c18b9f8a3a0435a044956ead4933 100644 (file)
@@ -85,11 +85,13 @@ struct CitContext {
        int is_async;           /* Nonzero if client accepts async msgs */
        int async_waiting;      /* Nonzero if there are async msgs waiting */
        int input_waiting;      /* Nonzero if there is client input waiting */
+       int can_receive_im;     /* Session is capable of receiving instant messages */
 
        /* Client information */
        int cs_clientdev;       /* client developer ID */
        int cs_clienttyp;       /* client type code */
        int cs_clientver;       /* client version number */
+       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 */
        char cs_addr[64];       /* address logged in from */