Source reconstructed at patch state 1 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
| 1 |
#ifndef __ROSTER_H |
| 2 |
#define __ROSTER_H |
| 3 |
|
| 4 |
enum { |
| 5 |
XMPP_PRESENCE_UNAVAILABLE, |
| 6 |
XMPP_PRESENCE_ERROR, |
| 7 |
XMPP_PRESENCE_XA, |
| 8 |
XMPP_PRESENCE_DND, |
| 9 |
XMPP_PRESENCE_AWAY, |
| 10 |
XMPP_PRESENCE_AVAILABLE, |
| 11 |
XMPP_PRESENCE_CHAT, |
| 12 |
XMPP_PRESENCE_ONLINE, |
| 13 |
XMPP_PRESENCE_SHOW_LEN |
| 14 |
}; |
| 15 |
extern const char *xmpp_presence_show[]; |
| 16 |
|
| 17 |
enum { |
| 18 |
XMPP_SUBSCRIPTION_REMOVE, |
| 19 |
XMPP_SUBSCRIPTION_NONE, |
| 20 |
XMPP_SUBSCRIPTION_TO, |
| 21 |
XMPP_SUBSCRIPTION_FROM, |
| 22 |
XMPP_SUBSCRIPTION_BOTH |
| 23 |
}; |
| 24 |
extern const char *xmpp_subscription[]; |
| 25 |
|
| 26 |
/* roster structure */ |
| 27 |
typedef struct _XMPP_ROSTER_RESOURCE_REC { |
| 28 |
char *name; |
| 29 |
int priority; |
| 30 |
int show; |
| 31 |
char *status; |
| 32 |
char *composing_id; |
| 33 |
char *pgp_keyid; |
| 34 |
} XMPP_ROSTER_RESOURCE_REC; |
| 35 |
|
| 36 |
typedef struct _XMPP_ROSTER_USER_REC { |
| 37 |
char *jid; |
| 38 |
char *name; |
| 39 |
int subscription; |
| 40 |
gboolean error; |
| 41 |
GSList *resources; |
| 42 |
} XMPP_ROSTER_USER_REC; |
| 43 |
|
| 44 |
typedef struct _XMPP_ROSTER_GROUP_REC { |
| 45 |
char *name; |
| 46 |
GSList *users; |
| 47 |
} XMPP_ROSTER_GROUP_REC; |
| 48 |
|
| 49 |
__BEGIN_DECLS |
| 50 |
void rosters_init(void); |
| 51 |
void rosters_deinit(void); |
| 52 |
__END_DECLS |
| 53 |
|
| 54 |
#endif |