1
/* $Id: xmpp-rosters.h,v 1.9 2007/11/26 12:55:07 errtu Exp $ */
3
#ifndef __XMPP_ROSTER_H
4
#define __XMPP_ROSTER_H
8
XMPP_PRESENCE_UNAVAILABLE,
12
XMPP_PRESENCE_AVAILABLE,
14
XMPP_PRESENCE_ONLINE_STR,
15
XMPP_PRESENCE_SHOW_LEN
17
extern const char *xmpp_presence_show[];
20
XMPP_SUBSCRIPTION_REMOVE,
21
XMPP_SUBSCRIPTION_NONE,
23
XMPP_SUBSCRIPTION_FROM,
24
XMPP_SUBSCRIPTION_BOTH
26
extern const char *xmpp_subscription[];
28
/* roster structure */
29
typedef struct _XMPP_ROSTER_RESOURCE_REC {
35
} XMPP_ROSTER_RESOURCE_REC;
37
typedef struct _XMPP_ROSTER_USER_REC {
44
} XMPP_ROSTER_USER_REC;
46
typedef struct _XMPP_ROSTER_GROUP_REC {
50
} XMPP_ROSTER_GROUP_REC;
53
void xmpp_rosters_init(void);
54
void xmpp_rosters_deinit(void);