offline.cc File Reference

handle packets addressed to existing but offline users More...

#include "jsm.h"

Functions

void js_offline_main (void *arg)

Detailed Description

handle packets addressed to existing but offline users


Function Documentation

void js_offline_main ( void *  arg  ) 

function that handles packets that are sent to a valid user account, that has no online session

First try if one of the e_OFFLINE modules handles the packet, if not it is bounced as recipient-unavailable

Parameters:
arg the jpq_struct for this packet (contains the session manager instance data and the packet)

References jpacket_struct::aux1, e_FILTER_IN, e_OFFLINE, jpacket_struct::flag, udata_struct::id, jid_full(), js_bounce_xmpp(), js_mapi_call(), log_debug2, LOGT_DELIVER, jpq_struct::p, PACKET_PASS_FILTERS_MAGIC, udata_struct::ref, jpq_struct::si, jpacket_struct::x, xmlnode_serialize_string(), XTERROR_RECIPIENTUNAVAIL, and ZONE.

Generated on Fri Sep 3 06:00:09 2010 for jabberd14 by  doxygen 1.6.3