citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
![]() ![]() |
#include "../../sysdep.h"
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include <pwd.h>
#include <errno.h>
#include <sys/types.h>
#include <time.h>
#include <sys/wait.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>
#include <expat.h>
#include <libcitadel.h>
#include "../../citadel.h"
#include "../../server.h"
#include "../../citserver.h"
#include "../../support.h"
#include "../../config.h"
#include "../../internet_addressing.h"
#include "../../ctdl_module.h"
#include "serv_xmpp.h"
Go to the source code of this file.
Functions | |
void | xmpp_queue_event (int event_type, char *email_addr) |
void | xmpp_process_events (void) |
Variables | |
int | queue_event_seq = 0 |
void xmpp_process_events | ( | void | ) |
Definition at line 105 of file xmpp_queue.c.
References CC, xmpp_event::event_jid, xmpp_event::event_seq, xmpp_event::event_type, xmpp_event::next, xmpp_event::session_which_generated_this_event, XMPP, XMPP_EVT_LOGIN, XMPP_EVT_LOGOUT, xmpp_presence_notify(), and xmpp_queue.
Referenced by xmpp_async_loop().
void xmpp_queue_event | ( | int | event_type, |
char * | email_addr | ||
) |
Definition at line 42 of file xmpp_queue.c.
References begin_critical_section(), CC, ContextList, end_critical_section(), xmpp_event::event_jid, xmpp_event::event_seq, xmpp_event::event_time, xmpp_event::event_type, free(), CitContext::h_async_function, CitContext::logged_in, malloc(), CitContext::next, xmpp_event::next, queue_event_seq, S_SESSION_TABLE, S_XMPP_QUEUE, xmpp_event::session_which_generated_this_event, set_async_waiting(), xmpp_async_loop(), and xmpp_queue.
Referenced by xmpp_login_hook(), and xmpp_logout_hook().
int queue_event_seq = 0 |
Definition at line 40 of file xmpp_queue.c.
Referenced by xmpp_greeting(), and xmpp_queue_event().