jabberd2  2.2.16
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


Field Documentation

memory pool this user is allocated off

Definition at line 232 of file sm.h.

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

true if this user has any available session

Definition at line 242 of file sm.h.

Referenced by _pres_top(), and pres_in().

time that user first logged in (ever)

Definition at line 244 of file sm.h.

Referenced by _active_user_load().


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