citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
  Fossies Dox: citadel.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

CitContext Struct Reference

#include <context.h>

Collaboration diagram for CitContext:
[legend]

Data Fields

CitContextprev
 
CitContextnext
 
int cs_pid
 
int dont_term
 
double created
 
time_t lastcmd
 
time_t lastidle
 
CCState state
 
int kill_me
 
IOBuffer SendBuf
 
IOBuffer RecvBuf
 
IOBuffer SBuf
 
StrBuf * MigrateBuf
 
StrBuf * sMigrateBuf
 
int client_socket
 
int is_local_client
 
StrBuf * redirect_buffer
 
StrBuf * StatusMessage
 
char curr_user [64]
 
int logged_in
 
int internal_pgm
 
int nologin
 
int curr_view
 
time_t previous_login
 
char lastcmdname [5]
 
unsigned cs_flags
 
int is_async
 
int async_waiting
 
int input_waiting
 
int can_receive_im
 
int cs_clientdev
 
int cs_clienttyp
 
int cs_clientver
 
char cs_clientinfo [256]
 
uid_t cs_UDSclientUID
 
char cs_clientname [32]
 
char cs_host [64]
 
char cs_addr [64]
 
char cs_principal_id [256]
 
char cs_inet_email [128]
 
char cs_inet_other_emails [1024]
 
char cs_inet_fn [128]
 
FILE * download_fp
 
size_t download_fp_total
 
char download_desired_section [128]
 
FILE * upload_fp
 
char upl_file [256]
 
char upl_path [PATH_MAX]
 
char upl_comment [256]
 
char upl_filedir [PATH_MAX]
 
char upl_mimetype [64]
 
struct ctdluser user
 
struct ctdlroom room
 
struct ExpressMessageFirstExpressMessage
 
int disable_exp
 
int newmail
 
char preferred_formats [256]
 
int msg4_dont_decode
 
void * session_specific_data
 
struct cit_icalCIT_ICAL
 
struct ma_infoma
 
const char * ServiceName
 
long tcp_port
 
void * openid_data
 
char * ldap_dn
 
void(* h_command_function )(void)
 
void(* h_async_function )(void)
 
void(* h_greeting_function )(void)
 
long * cached_msglist
 
int cached_num_msgs
 
char vcard_updated_by_ldap
 

Detailed Description

Definition at line 40 of file context.h.

Field Documentation

◆ async_waiting

int CitContext::async_waiting

Definition at line 79 of file context.h.

Referenced by set_async_waiting(), and worker_thread().

◆ cached_msglist

long* CitContext::cached_msglist

Definition at line 134 of file context.h.

Referenced by begin_session(), CloneContext(), and RemoveContext().

◆ cached_num_msgs

int CitContext::cached_num_msgs

Definition at line 135 of file context.h.

Referenced by begin_session().

◆ can_receive_im

int CitContext::can_receive_im

Definition at line 81 of file context.h.

Referenced by send_instant_message(), xmpp_is_visible(), and xmpp_send_message().

◆ CIT_ICAL

struct cit_ical* CitContext::CIT_ICAL

Definition at line 123 of file context.h.

Referenced by CloneContext().

◆ client_socket

◆ created

double CitContext::created

Definition at line 46 of file context.h.

◆ cs_addr

char CitContext::cs_addr[64]

Definition at line 91 of file context.h.

Referenced by begin_session(), CtdlTryPassword(), and HuntBadSession().

◆ cs_clientdev

int CitContext::cs_clientdev

Definition at line 84 of file context.h.

◆ cs_clientinfo

char CitContext::cs_clientinfo[256]

Definition at line 87 of file context.h.

Referenced by begin_session().

◆ cs_clientname

char CitContext::cs_clientname[32]

Definition at line 89 of file context.h.

Referenced by begin_session(), cmd_rwho(), and imap_greeting().

◆ cs_clienttyp

int CitContext::cs_clienttyp

Definition at line 85 of file context.h.

◆ cs_clientver

int CitContext::cs_clientver

Definition at line 86 of file context.h.

◆ cs_flags

unsigned CitContext::cs_flags

◆ cs_host

char CitContext::cs_host[64]

Definition at line 90 of file context.h.

Referenced by begin_session(), cmd_rwho(), CtdlTryPassword(), and HuntBadSession().

◆ cs_inet_email

char CitContext::cs_inet_email[128]

Definition at line 95 of file context.h.

Referenced by CtdlUserLogout().

◆ cs_inet_fn

char CitContext::cs_inet_fn[128]

Definition at line 97 of file context.h.

Referenced by CtdlUserLogout().

◆ cs_inet_other_emails

char CitContext::cs_inet_other_emails[1024]

Definition at line 96 of file context.h.

Referenced by CtdlUserLogout().

◆ cs_pid

◆ cs_principal_id

◆ cs_UDSclientUID

uid_t CitContext::cs_UDSclientUID

Definition at line 88 of file context.h.

Referenced by begin_session().

◆ curr_user

◆ curr_view

int CitContext::curr_view

Definition at line 73 of file context.h.

◆ disable_exp

int CitContext::disable_exp

Definition at line 114 of file context.h.

Referenced by send_instant_message().

◆ dont_term

int CitContext::dont_term

Definition at line 45 of file context.h.

Referenced by migr_do_export(), and terminate_idle_sessions().

◆ download_desired_section

char CitContext::download_desired_section[128]

Definition at line 101 of file context.h.

◆ download_fp

FILE* CitContext::download_fp

Definition at line 99 of file context.h.

Referenced by begin_session(), CloneContext(), and files_logout_hook().

◆ download_fp_total

size_t CitContext::download_fp_total

Definition at line 100 of file context.h.

◆ FirstExpressMessage

struct ExpressMessage* CitContext::FirstExpressMessage

Definition at line 113 of file context.h.

Referenced by add_xmsg_to_context(), and begin_session().

◆ h_async_function

void(* CitContext::h_async_function) (void)

Definition at line 131 of file context.h.

Referenced by worker_thread(), and xmpp_queue_event().

◆ h_command_function

void(* CitContext::h_command_function) (void)

Definition at line 130 of file context.h.

Referenced by worker_thread().

◆ h_greeting_function

void(* CitContext::h_greeting_function) (void)

Definition at line 132 of file context.h.

Referenced by worker_thread().

◆ input_waiting

int CitContext::input_waiting

Definition at line 80 of file context.h.

Referenced by worker_thread().

◆ internal_pgm

int CitContext::internal_pgm

Definition at line 71 of file context.h.

Referenced by begin_session(), cmd_goto(), CtdlFillSystemContext(), and InitializeMasterCC().

◆ is_async

int CitContext::is_async

Definition at line 78 of file context.h.

Referenced by set_async_waiting(), and worker_thread().

◆ is_local_client

int CitContext::is_local_client

Definition at line 60 of file context.h.

Referenced by worker_thread().

◆ kill_me

◆ lastcmd

time_t CitContext::lastcmd

◆ lastcmdname

char CitContext::lastcmdname[5]

Definition at line 76 of file context.h.

Referenced by begin_session(), cmd_rwho(), and do_command_loop().

◆ lastidle

time_t CitContext::lastidle

Definition at line 48 of file context.h.

Referenced by begin_session(), cmd_rwho(), and do_command_loop().

◆ ldap_dn

char* CitContext::ldap_dn

Definition at line 128 of file context.h.

Referenced by CloneContext(), CtdlTryPassword(), and RemoveContext().

◆ logged_in

int CitContext::logged_in

◆ ma

struct ma_info* CitContext::ma

Definition at line 124 of file context.h.

Referenced by CloneContext().

◆ MigrateBuf

StrBuf* CitContext::MigrateBuf

Definition at line 56 of file context.h.

Referenced by client_getln(), client_read_to(), CloneContext(), CreateNewContext(), and RemoveContext().

◆ msg4_dont_decode

int CitContext::msg4_dont_decode

Definition at line 119 of file context.h.

◆ newmail

int CitContext::newmail

Definition at line 115 of file context.h.

Referenced by CtdlBumpNewMailCounter().

◆ next

◆ nologin

int CitContext::nologin

Definition at line 72 of file context.h.

Referenced by begin_session(), and imap_greeting().

◆ openid_data

void* CitContext::openid_data

Definition at line 127 of file context.h.

Referenced by CloneContext(), cmd_oids(), and openid_cleanup_function().

◆ preferred_formats

char CitContext::preferred_formats[256]

Definition at line 118 of file context.h.

◆ prev

CitContext* CitContext::prev

Definition at line 41 of file context.h.

Referenced by CloneContext(), CreateNewContext(), and dead_session_purge().

◆ previous_login

time_t CitContext::previous_login

Definition at line 75 of file context.h.

◆ RecvBuf

◆ redirect_buffer

StrBuf* CitContext::redirect_buffer

◆ room

struct ctdlroom CitContext::room

Definition at line 110 of file context.h.

Referenced by cmd_goto(), cmd_rwho(), GenerateRoomDisplay(), ical_write_to_cal(), and roomchat_rwho().

◆ SBuf

IOBuffer CitContext::SBuf

Definition at line 54 of file context.h.

Referenced by clamd(), CloneContext(), and spam_assassin().

◆ SendBuf

IOBuffer CitContext::SendBuf

Definition at line 52 of file context.h.

Referenced by CloneContext().

◆ ServiceName

const char* CitContext::ServiceName

◆ session_specific_data

void* CitContext::session_specific_data

Definition at line 122 of file context.h.

Referenced by CloneContext(), and imap_greeting().

◆ sMigrateBuf

StrBuf* CitContext::sMigrateBuf

Definition at line 57 of file context.h.

Referenced by clamd(), CloneContext(), and spam_assassin().

◆ state

◆ StatusMessage

StrBuf* CitContext::StatusMessage

Definition at line 63 of file context.h.

Referenced by RemoveContext().

◆ tcp_port

long CitContext::tcp_port

Definition at line 126 of file context.h.

Referenced by CtdlTryPassword(), and worker_thread().

◆ upl_comment

char CitContext::upl_comment[256]

Definition at line 105 of file context.h.

◆ upl_file

char CitContext::upl_file[256]

Definition at line 103 of file context.h.

◆ upl_filedir

char CitContext::upl_filedir[PATH_MAX]

Definition at line 106 of file context.h.

◆ upl_mimetype

char CitContext::upl_mimetype[64]

Definition at line 107 of file context.h.

◆ upl_path

char CitContext::upl_path[PATH_MAX]

Definition at line 104 of file context.h.

◆ upload_fp

FILE* CitContext::upload_fp

Definition at line 102 of file context.h.

Referenced by abort_upl(), begin_session(), CloneContext(), cmd_writ(), and files_logout_hook().

◆ user

◆ vcard_updated_by_ldap

char CitContext::vcard_updated_by_ldap

Definition at line 137 of file context.h.


The documentation for this struct was generated from the following file: