Commands for presence updates

This commit is contained in:
James Booth
2012-05-27 20:36:31 +01:00
parent f5eab87588
commit dd9f6f825e
6 changed files with 74 additions and 52 deletions

View File

@@ -23,18 +23,7 @@
#ifndef JABBER_H
#define JABBER_H
typedef enum {
JABBER_STARTED,
JABBER_CONNECTING,
JABBER_CONNECTED,
JABBER_DISCONNECTED
} jabber_conn_status_t;
typedef enum {
PRESENCE_OFFLINE,
PRESENCE_ONLINE,
PRESENCE_AWAY
} jabber_presence_t;
#include "common.h"
void jabber_init(const int disable_tls);
jabber_conn_status_t jabber_connection_status(void);