jabberd2  2.3.1
Data Structures | Typedefs | Functions
mod_template_roster.c File Reference

user auto-population - roster More...

#include "sm.h"

Go to the source code of this file.

Data Structures

struct  _template_roster_st
 
union  xhashv
 session packet handling More...
 

Typedefs

typedef struct
_template_roster_st
template_roster_t
 

Functions

static int _template_roster_reload (template_roster_t tr)
 
static void _template_roster_save_item (sm_t sm, jid_t jid, item_t item)
 !!! this is a cut & paste of _roster_save_time - break it out More...
 
static int _template_roster_user_create (mod_instance_t mi, jid_t jid)
 
static void _template_roster_free (module_t mod)
 
DLLEXPORT int module_init (mod_instance_t mi, const char *arg)
 

Detailed Description

user auto-population - roster

Author
Robert Norris
Date:
2005/08/17 07:48:28
Revision:
1.11

Definition in file mod_template_roster.c.

Typedef Documentation

Function Documentation

static int _template_roster_reload ( template_roster_t  tr)
static
static void _template_roster_save_item ( sm_t  sm,
jid_t  jid,
item_t  item 
)
static

!!! this is a cut & paste of _roster_save_time - break it out

Definition at line 168 of file mod_template_roster.c.

References item_st::ask, item_st::from, item_st::groups, item_st::jid, jid_full(), jid_user(), log_debug, item_st::name, item_st::ngroups, sm_st::st, item_st::to, and ZONE.

Referenced by _template_roster_user_create().

static int _template_roster_user_create ( mod_instance_t  mi,
jid_t  jid 
)
static
static void _template_roster_free ( module_t  mod)
static

Definition at line 236 of file mod_template_roster.c.

References _template_roster_st::items, module_st::private, and xhash_free().

Referenced by module_init().

DLLEXPORT int module_init ( mod_instance_t  mi,
const char *  arg 
)