Added jabber module

This commit is contained in:
James Booth
2012-02-05 23:29:09 +00:00
parent 134e5d1701
commit 0c0246074f
6 changed files with 123 additions and 103 deletions

15
jabber.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef JABBER_H
#define JABBER_H
#include <strophe/strophe.h>
// message handlers
int in_message_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
void * const userdata);
// connection handler
void conn_handler(xmpp_conn_t * const conn, const xmpp_conn_event_t status,
const int error, xmpp_stream_error_t * const stream_error,
void * const userdata);
#endif