- char curr_user[USERNAME_SIZE]; /* name of current user */
- int logged_in; /* logged in? */
- int internal_pgm; /* authenticated as internal program? */
- int nologin; /* not allowed to log in */
- int curr_view; /* The view type for the current user/room */
-
- time_t previous_login; /* Date/time of previous login */
- char lastcmdname[5]; /* name of last command executed */
- unsigned cs_flags; /* miscellaneous flags */
- 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 */
- 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 */
- char cs_addr[64]; /* address logged in from */
-
- /* The Internet type of thing */
- char cs_principal_id[256]; /* User principal identity for XMPP, ActivityPub, etc. */
- char cs_inet_email[128]; /* Return address of outbound Internet mail */
- char cs_inet_other_emails[1024]; /* User's other valid Internet email addresses */
- char cs_inet_fn[128]; /* Friendly-name of outbound Internet mail */
-
- FILE *download_fp; /* Fields relating to file transfer */
+ char curr_user[USERNAME_SIZE]; // name of current user
+ int logged_in; // logged in?
+ int internal_pgm; // authenticated as internal program?
+ int nologin; // not allowed to log in
+ int curr_view; // The view type for the current user/room
+
+ time_t previous_login; // Date/time of previous login
+ char lastcmdname[5]; // name of last command executed
+ unsigned cs_flags; // miscellaneous flags
+ 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
+ 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
+ char cs_addr[64]; // address logged in from
+
+ // The Internet type of thing
+ char cs_principal_id[256]; // User principal identity for XMPP, ActivityPub, etc.
+ char cs_inet_email[128]; // Return address of outbound Internet mail
+ char cs_inet_other_emails[1024]; // User's other valid Internet email addresses
+ char cs_inet_fn[128]; // Friendly-name of outbound Internet mail
+
+ FILE *download_fp; // Fields relating to file transfer