jabberd2  2.2.17
Data Fields
user_st Struct Reference

data for a single user More...

#include <sm.h>

Data Fields

pool_t p
 memory pool this user is allocated off
sm_t sm
 sm context
jid_t jid
 user jid (user@host)
xht roster
 roster for this user (key is full jid of item, value is item_t)
sess_t sessions
 list of action sessions
sess_t top
 top priority session
int available
 true if this user has any available session
time_t active
 time that user first logged in (ever)
void ** module_data
 per-user module data

Detailed Description

data for a single user

Definition at line 231 of file sm.h.


Field Documentation

pool_t user_st::p

memory pool this user is allocated off

Definition at line 232 of file sm.h.

Referenced by _privacy_user_load(), _roster_user_load(), _user_alloc(), _vacation_user_load(), user_free(), and user_load().

sm_t user_st::sm
jid_t user_st::jid
xht user_st::roster
sess_t user_st::sessions
sess_t user_st::top
int user_st::available

true if this user has any available session

Definition at line 242 of file sm.h.

Referenced by _pres_top(), and pres_in().

time_t user_st::active

time that user first logged in (ever)

Definition at line 244 of file sm.h.

Referenced by _active_user_load().

void** user_st::module_data

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