citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
  Fossies Dox: citadel.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
serv_xmpp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _citxmpp
 
struct  xmpp_event
 

Macros

#define XMPP   ((citxmpp *)CC->session_specific_data)
 

Typedefs

typedef struct _citxmpp citxmpp
 

Enumerations

enum  { XMPP_EVT_LOGIN , XMPP_EVT_LOGOUT }
 

Functions

void xmpp_cleanup_function (void)
 
void xmpp_greeting (void)
 
void xmpp_command_loop (void)
 
void xmpp_async_loop (void)
 
void xmpp_sasl_auth (char *, char *)
 
void xmpp_output_auth_mechs (void)
 
void xmpp_query_namespace (char *, char *, char *, char *)
 
void xmpp_wholist_presence_dump (void)
 
void xmpp_output_incoming_messages (void)
 
void xmpp_queue_event (int, char *)
 
void xmpp_process_events (void)
 
void xmpp_presence_notify (char *, int)
 
void xmpp_roster_item (struct CitContext *)
 
void xmpp_send_message (char *, char *)
 
void xmpp_non_sasl_authenticate (char *, char *, char *)
 
void xmpp_massacre_roster (void)
 
void xmpp_delete_old_buddies_who_no_longer_exist_from_the_client_roster (void)
 
int xmpp_is_visible (struct CitContext *from, struct CitContext *to_whom)
 
char * xmlesc (char *buf, char *str, int bufsiz)
 

Variables

struct xmpp_eventxmpp_queue
 
int queue_event_seq
 

Macro Definition Documentation

◆ XMPP

#define XMPP   ((citxmpp *)CC->session_specific_data)

Definition at line 43 of file serv_xmpp.h.

Typedef Documentation

◆ citxmpp

typedef struct _citxmpp citxmpp

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
XMPP_EVT_LOGIN 
XMPP_EVT_LOGOUT 

Definition at line 57 of file serv_xmpp.h.

Function Documentation

◆ xmlesc()

◆ xmpp_async_loop()

void xmpp_async_loop ( void  )

Definition at line 631 of file serv_xmpp.c.

References xmpp_output_incoming_messages(), and xmpp_process_events().

Referenced by ctdl_module_init_xmpp(), and xmpp_queue_event().

◆ xmpp_cleanup_function()

void xmpp_cleanup_function ( void  )

Definition at line 551 of file serv_xmpp.c.

References CC, free(), XMPP, and xmpp_command_loop().

Referenced by ctdl_module_init_xmpp().

◆ xmpp_command_loop()

void xmpp_command_loop ( void  )

◆ xmpp_delete_old_buddies_who_no_longer_exist_from_the_client_roster()

void xmpp_delete_old_buddies_who_no_longer_exist_from_the_client_roster ( void  )

◆ xmpp_greeting()

void xmpp_greeting ( void  )

◆ xmpp_is_visible()

◆ xmpp_massacre_roster()

void xmpp_massacre_roster ( void  )

◆ xmpp_non_sasl_authenticate()

void xmpp_non_sasl_authenticate ( char *  iq_id,
char *  username,
char *  password 
)

◆ xmpp_output_auth_mechs()

void xmpp_output_auth_mechs ( void  )

Definition at line 87 of file xmpp_sasl_service.c.

References cprintf().

Referenced by xmpp_stream_start().

◆ xmpp_output_incoming_messages()

void xmpp_output_incoming_messages ( void  )

◆ xmpp_presence_notify()

void xmpp_presence_notify ( char *  presence_jid,
int  event_type 
)

◆ xmpp_process_events()

◆ xmpp_query_namespace()

void xmpp_query_namespace ( char *  iq_id,
char *  iq_from,
char *  iq_to,
char *  query_xmlns 
)

◆ xmpp_queue_event()

◆ xmpp_roster_item()

void xmpp_roster_item ( struct CitContext cptr)

◆ xmpp_sasl_auth()

void xmpp_sasl_auth ( char *  sasl_auth_mech,
char *  authstring 
)

Definition at line 97 of file xmpp_sasl_service.c.

References CC, cprintf(), CtdlUserLogout(), and xmpp_auth_plain().

Referenced by xmpp_xml_end().

◆ xmpp_send_message()

void xmpp_send_message ( char *  message_to,
char *  message_body 
)

◆ xmpp_wholist_presence_dump()

void xmpp_wholist_presence_dump ( void  )

Variable Documentation

◆ queue_event_seq

int queue_event_seq
extern

Definition at line 40 of file xmpp_queue.c.

Referenced by xmpp_greeting(), and xmpp_queue_event().

◆ xmpp_queue

struct xmpp_event* xmpp_queue
extern

Definition at line 56 of file serv_xmpp.c.

Referenced by xmpp_process_events(), and xmpp_queue_event().