wcsession Struct Reference

One of these is kept for each active Citadel session. HTTP transactions are bound to on e at a time. More...

#include <webcit.h>


Data Fields

wcsessionnext
int wc_session
char wc_username [128]
char wc_fullname [128]
char wc_password [128]
char wc_roomname [256]
int connected
int logged_in
int axlevel
int is_aide
int is_room_aide
int http_sock
int serv_sock
int chat_sock
unsigned room_flags
unsigned room_flags2
int wc_view
int wc_default_view
int wc_is_trash
int wc_floor
char ugname [128]
long uglsn
int upload_length
char * upload
char upload_filename [PATH_MAX]
char upload_content_type [256]
int new_mail
int remember_new_mail
int need_regi
int need_vali
char cs_inet_email [256]
pthread_mutex_t SessionMutex
time_t lastreq
int killthis
marchmarch
char reply_to [512]
long msgarr [10000]
int num_summ
message_summarysumm
int is_wap
urlcontenturlstrings
wcsubstvars
char this_page [512]
char http_host [512]
char * preferences
wcsession::disp_caldisp_cal
 ical????
int num_cal
wc_attachmentfirst_attachment
char last_chat_user [256]
char ImportantMessage [SIZ]
int ctdl_pid
char httpauth_user [256]
char httpauth_pass [256]
size_t burst_len
size_t burst_alloc
char * burst
int gzip_ok
int is_mailbox
foldercache_fold
int cache_max_folders
int cache_num_floors
time_t cache_timestamp
int current_iconbar
char floordiv_expanded [32]
int selected_language
time_t last_pager_check

Data Structures

struct  disp_cal
 ical???? More...


Detailed Description

One of these is kept for each active Citadel session. HTTP transactions are bound to on e at a time.

Definition at line 326 of file webcit.h.


Field Documentation

struct wcsession* wcsession::next [read]

Linked list

Definition at line 327 of file webcit.h.

Referenced by context_loop(), and do_housekeeping().

int wcsession::wc_session

WebCit session ID

Definition at line 328 of file webcit.h.

Referenced by context_loop().

char wcsession::wc_username[128]

login name of current user

Definition at line 329 of file webcit.h.

char wcsession::wc_fullname[128]

Screen name of current user

Definition at line 330 of file webcit.h.

char wcsession::wc_password[128]

Password of current user

Definition at line 331 of file webcit.h.

char wcsession::wc_roomname[256]

Room we are currently in

Definition at line 332 of file webcit.h.

int wcsession::connected

nonzero == we are connected to Citadel

Definition at line 333 of file webcit.h.

int wcsession::logged_in

nonzero == we are logged in

Definition at line 334 of file webcit.h.

int wcsession::axlevel

this user's access level

Definition at line 335 of file webcit.h.

int wcsession::is_aide

nonzero == this user is an Aide

Definition at line 336 of file webcit.h.

int wcsession::is_room_aide

nonzero == this user is a Room Aide in this room

Definition at line 337 of file webcit.h.

int wcsession::http_sock

HTTP server socket

Definition at line 338 of file webcit.h.

int wcsession::serv_sock

Client socket to Citadel server

Definition at line 339 of file webcit.h.

int wcsession::chat_sock

Client socket to Citadel server - for chat

Definition at line 340 of file webcit.h.

unsigned wcsession::room_flags

flags associated with the current room

Definition at line 341 of file webcit.h.

unsigned wcsession::room_flags2

flags associated with the current room

Definition at line 342 of file webcit.h.

int wcsession::wc_view

view for the current room

Definition at line 343 of file webcit.h.

int wcsession::wc_default_view

default view for the current room

Definition at line 344 of file webcit.h.

int wcsession::wc_is_trash

nonzero == current room is a Trash folder

Definition at line 345 of file webcit.h.

int wcsession::wc_floor

floor number of current room

Definition at line 346 of file webcit.h.

char wcsession::ugname[128]

where does 'ungoto' take us

Definition at line 347 of file webcit.h.

long wcsession::uglsn

last seen message number for ungoto

Definition at line 348 of file webcit.h.

int wcsession::upload_length

content length of http-uploaded data

Definition at line 349 of file webcit.h.

char* wcsession::upload

pointer to http-uploaded data

Definition at line 350 of file webcit.h.

char wcsession::upload_filename[PATH_MAX]

filename of http-uploaded data

Definition at line 351 of file webcit.h.

char wcsession::upload_content_type[256]

content type of http-uploaded data

Definition at line 352 of file webcit.h.

int wcsession::new_mail

user has new mail waiting

Definition at line 353 of file webcit.h.

int wcsession::remember_new_mail

last count of new mail messages

Definition at line 354 of file webcit.h.

int wcsession::need_regi

This user needs to register.

Definition at line 355 of file webcit.h.

int wcsession::need_vali

New users require validation.

Definition at line 356 of file webcit.h.

char wcsession::cs_inet_email[256]

User's preferred Internet addr.

Definition at line 357 of file webcit.h.

pthread_mutex_t wcsession::SessionMutex

mutex for exclusive access

Definition at line 358 of file webcit.h.

time_t wcsession::lastreq

Timestamp of most recent HTTP

Definition at line 359 of file webcit.h.

Referenced by do_housekeeping().

int wcsession::killthis

Nonzero == purge this session

Definition at line 360 of file webcit.h.

Referenced by do_housekeeping().

struct march* wcsession::march [read]

march mode room list

Definition at line 361 of file webcit.h.

Referenced by free_march_list().

char wcsession::reply_to[512]

reply-to address

Definition at line 362 of file webcit.h.

long wcsession::msgarr[10000]

for read operations

Definition at line 363 of file webcit.h.

int wcsession::num_summ

number of messages in mailbox summary view

Definition at line 364 of file webcit.h.

struct message_summary* wcsession::summ [read]

array of messages for mailbox summary view

Definition at line 365 of file webcit.h.

int wcsession::is_wap

Client is a WAP gateway

Definition at line 366 of file webcit.h.

struct urlcontent* wcsession::urlstrings [read]

variables passed to webcit in a URL

Definition at line 367 of file webcit.h.

struct wcsubst* wcsession::vars [read]

HTTP variable substitutions for this page

Definition at line 368 of file webcit.h.

char wcsession::this_page[512]

URL of current page

Definition at line 369 of file webcit.h.

char wcsession::http_host[512]

HTTP Host: header

Definition at line 370 of file webcit.h.

char* wcsession::preferences

WebCit preferences for this user

Definition at line 371 of file webcit.h.

int wcsession::num_cal

number of calendar items for display

Definition at line 378 of file webcit.h.

struct wc_attachment* wcsession::first_attachment [read]

linked list of attachments for 'enter message'

Definition at line 380 of file webcit.h.

Referenced by free_attachments().

char wcsession::last_chat_user[256]

??? todo

Definition at line 381 of file webcit.h.

char wcsession::ImportantMessage[SIZ]

??? todo

Definition at line 382 of file webcit.h.

int wcsession::ctdl_pid

Session ID on the Citadel server

Definition at line 383 of file webcit.h.

char wcsession::httpauth_user[256]

only for GroupDAV sessions

Definition at line 384 of file webcit.h.

Referenced by context_loop().

char wcsession::httpauth_pass[256]

only for GroupDAV sessions

Definition at line 385 of file webcit.h.

Referenced by context_loop().

size_t wcsession::burst_alloc

<??? todo

Definition at line 387 of file webcit.h.

char* wcsession::burst

<??? todo

Definition at line 388 of file webcit.h.

int wcsession::gzip_ok

<??? todo Nonzero if Accept-encoding: gzip

Definition at line 389 of file webcit.h.

int wcsession::is_mailbox

the current room is a private mailbox

Definition at line 390 of file webcit.h.

struct folder* wcsession::cache_fold [read]

cache the iconbar room list

Definition at line 391 of file webcit.h.

int wcsession::cache_max_folders

??? todo

Definition at line 392 of file webcit.h.

int wcsession::cache_num_floors

??? todo

Definition at line 393 of file webcit.h.

time_t wcsession::cache_timestamp

??? todo

Definition at line 394 of file webcit.h.

int wcsession::current_iconbar

What is currently in the iconbar?

Definition at line 395 of file webcit.h.

char wcsession::floordiv_expanded[32]

which floordiv currently expanded

Definition at line 396 of file webcit.h.

int wcsession::selected_language

Language selected by user

Definition at line 397 of file webcit.h.

time_t wcsession::last_pager_check

last time we polled for instant msgs

Definition at line 398 of file webcit.h.


The documentation for this struct was generated from the following file:
Generated on Wed Jun 20 23:13:15 2007 for webcit by  doxygen 1.5.2