- struct wcsession *next; /**< Linked list */
- int wc_session; /**< WebCit session ID */
- char wc_username[128]; /**< login name of current user */
- char wc_fullname[128]; /**< Screen name of current user */
- char wc_password[128]; /**< Password of current user */
- char wc_roomname[256]; /**< Room we are currently in */
- int connected; /**< nonzero == we are connected to Citadel */
- int logged_in; /**< nonzero == we are logged in */
- int axlevel; /**< this user's access level */
- int is_aide; /**< nonzero == this user is an Aide */
- int is_room_aide; /**< nonzero == this user is a Room Aide in this room */
- int http_sock; /**< HTTP server socket */
- int serv_sock; /**< Client socket to Citadel server */
- int chat_sock; /**< Client socket to Citadel server - for chat */
- unsigned room_flags; /**< flags associated with the current room */
- unsigned room_flags2; /**< flags associated with the current room */
- int wc_view; /**< view for the current room */
- int wc_default_view; /**< default view for the current room */
- int wc_is_trash; /**< nonzero == current room is a Trash folder */
- int wc_floor; /**< floor number of current room */
- char ugname[128]; /**< where does 'ungoto' take us */
- long uglsn; /**< last seen message number for ungoto */
- int upload_length; /**< content length of http-uploaded data */
- char *upload; /**< pointer to http-uploaded data */
- char upload_filename[PATH_MAX]; /**< filename of http-uploaded data */
- char upload_content_type[256]; /**< content type of http-uploaded data */
- int new_mail; /**< user has new mail waiting */
- int remember_new_mail; /**< last count of new mail messages */
- int need_regi; /**< This user needs to register. */
- int need_vali; /**< New users require validation. */
- char cs_inet_email[256]; /**< User's preferred Internet addr. */
- pthread_mutex_t SessionMutex; /**< mutex for exclusive access */
- time_t lastreq; /**< Timestamp of most recent HTTP */
- int killthis; /**< Nonzero == purge this session */
- struct march *march; /**< march mode room list */
- char reply_to[512]; /**< reply-to address */
- long msgarr[10000]; /**< for read operations */
- int num_summ; /**< number of messages in mailbox summary view */
- struct message_summary *summ; /**< array of messages for mailbox summary view */
- int is_mobile; /**< Client is a handheld browser */
- HashList *urlstrings; /**< variables passed to webcit in a URL */
- HashList *vars; /**< HTTP variable substitutions for this page */
- char this_page[512]; /**< URL of current page */
- char http_host[512]; /**< HTTP Host: header */
- HashList *hash_prefs; /**< WebCit preferences for this user */
- HashList *disp_cal_items; /**< sorted list of calendar items; startdate is the sort criteria. */
- struct wc_attachment *first_attachment; /**< linked list of attachments for 'enter message' */
- char last_chat_user[256]; /**< ??? todo */
- char ImportantMessage[SIZ]; /**< ??? todo */
- int ctdl_pid; /**< Session ID on the Citadel server */
- char httpauth_user[256]; /**< only for GroupDAV sessions */
- char httpauth_pass[256]; /**< only for GroupDAV sessions */
- int gzip_ok; /**< Nonzero if Accept-encoding: gzip */
- int is_mailbox; /**< the current room is a private mailbox */
- struct folder *cache_fold; /**< cache the iconbar room list */
- int cache_max_folders; /**< ??? todo */
- int cache_num_floors; /**< ??? todo */
- time_t cache_timestamp; /**< ??? todo */
- HashList *IconBarSetttings; /**< which icons should be shown / not shown? */
- long current_iconbar; /**< What is currently in the iconbar? */
- const StrBuf *floordiv_expanded; /**< which floordiv currently expanded */
- int selected_language; /**< Language selected by user */
- time_t last_pager_check; /**< last time we polled for instant msgs */
- int nonce; /**< session nonce (to prevent session riding) */
- int time_format_cache; /**< which timeformat does our user like? */
- StrBuf *UrlFragment1; /**< first urlfragment, if NEED_URL is specified by the handler*/
- StrBuf *UrlFragment2; /**< second urlfragment, if NEED_URL is specified by the handler*/
- StrBuf *WBuf; /**< Our output buffer */
- StrBuf *HBuf; /**< Our HeaderBuffer */
- StrBuf *CLineBuf; /**< linebuffering client stuff */
-
- HashList *ServCfg; /**< cache our server config for editing */
- HashList *InetCfg; /**< Our inet server config for editing */
-
- StrBuf *trailing_javascript; /**< extra javascript to be appended to page */
+ struct wcsession *next; /* Linked list */
+ int wc_session; /* WebCit session ID */
+ char wc_username[128]; /* login name of current user */
+ char wc_fullname[128]; /* Screen name of current user */
+ char wc_password[128]; /* Password of current user */
+ char wc_roomname[256]; /* Room we are currently in */
+ int connected; /* nonzero == we are connected to Citadel */
+ int logged_in; /* nonzero == we are logged in */
+ int axlevel; /* this user's access level */
+ int is_aide; /* nonzero == this user is an Aide */
+ int is_room_aide; /* nonzero == this user is a Room Aide in this room */
+ int http_sock; /* HTTP server socket */
+ int serv_sock; /* Client socket to Citadel server */
+ int chat_sock; /* Client socket to Citadel server - for chat */
+ unsigned room_flags; /* flags associated with the current room */
+ unsigned room_flags2; /* flags associated with the current room */
+ int wc_view; /* view for the current room */
+ int wc_default_view; /* default view for the current room */
+ int wc_is_trash; /* nonzero == current room is a Trash folder */
+ int wc_floor; /* floor number of current room */
+ char ugname[128]; /* where does 'ungoto' take us */
+ long uglsn; /* last seen message number for ungoto */
+ int upload_length; /* content length of http-uploaded data */
+ char *upload; /* pointer to http-uploaded data */
+ char upload_filename[PATH_MAX]; /* filename of http-uploaded data */
+ char upload_content_type[256]; /* content type of http-uploaded data */
+ int new_mail; /* user has new mail waiting */
+ int remember_new_mail; /* last count of new mail messages */
+ int need_regi; /* This user needs to register. */
+ int need_vali; /* New users require validation. */
+ char cs_inet_email[256]; /* User's preferred Internet addr. */
+ pthread_mutex_t SessionMutex; /* mutex for exclusive access */
+ time_t lastreq; /* Timestamp of most recent HTTP */
+ int killthis; /* Nonzero == purge this session */
+ struct march *march; /* march mode room list */
+ char reply_to[512]; /* reply-to address */
+ long msgarr[10000]; /* for read operations */
+ int num_summ; /* number of messages in mailbox summary view */
+ struct message_summary *summ; /* array of messages for mailbox summary view */
+ int is_mobile; /* Client is a handheld browser */
+ HashList *urlstrings; /* variables passed to webcit in a URL */
+ HashList *vars; /* HTTP variable substitutions for this page */
+ char this_page[512]; /* URL of current page */
+ char http_host[512]; /* HTTP Host: header */
+ HashList *hash_prefs; /* WebCit preferences for this user */
+ HashList *disp_cal_items; /* sorted list of calendar items; startdate is the sort criteria. */
+ struct wc_attachment *first_attachment; /* linked list of attachments for 'enter message' */
+ char last_chat_user[256];
+ char ImportantMessage[SIZ];
+ int ctdl_pid; /* Session ID on the Citadel server */
+ char httpauth_user[256]; /* only for GroupDAV sessions */
+ char httpauth_pass[256]; /* only for GroupDAV sessions */
+ int gzip_ok; /* Nonzero if Accept-encoding: gzip */
+ int is_mailbox; /* the current room is a private mailbox */
+ struct folder *cache_fold; /* cache the iconbar room list */
+ int cache_max_folders;
+ int cache_num_floors;
+ time_t cache_timestamp;
+ HashList *IconBarSetttings; /* which icons should be shown / not shown? */
+ long current_iconbar; /* What is currently in the iconbar? */
+ const StrBuf *floordiv_expanded; /* which floordiv currently expanded */
+ int selected_language; /* Language selected by user */
+ time_t last_pager_check; /* last time we polled for instant msgs */
+ int nonce; /* session nonce (to prevent session riding) */
+ int time_format_cache; /* which timeformat does our user like? */
+ StrBuf *UrlFragment1; /* first urlfragment, if NEED_URL is specified by handler*/
+ StrBuf *UrlFragment2; /* second urlfragment, if NEED_URL is specified by handler*/
+ StrBuf *WBuf; /* Our output buffer */
+ StrBuf *HBuf; /* Our HeaderBuffer */
+ StrBuf *CLineBuf; /* linebuffering client stuff */
+ HashList *ServCfg; /* cache our server config for editing */
+ HashList *InetCfg; /* Our inet server config for editing */
+ StrBuf *trailing_javascript; /* extra javascript to be appended to page */