Mercurial > pidgin
comparison libpurple/protocols/jabber/jabber.h @ 20149:be2538a92099
Comment a partial implementation of the libpurple attention API for
XMPP. The implemented functions in the prpl_info struct are not yet
used, and requires further testing.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Sun, 23 Sep 2007 20:30:57 +0000 |
parents | d32ed28cf645 |
children | bde477ec6a71 |
comparison
equal
deleted
inserted
replaced
20148:e86f136e880e | 20149:be2538a92099 |
---|---|
63 #ifdef HAVE_CYRUS_SASL | 63 #ifdef HAVE_CYRUS_SASL |
64 #include <sasl/sasl.h> | 64 #include <sasl/sasl.h> |
65 #endif | 65 #endif |
66 | 66 |
67 #define CAPS0115_NODE "http://pidgin.im/caps" | 67 #define CAPS0115_NODE "http://pidgin.im/caps" |
68 | |
69 /* Index into attention_types list */ | |
70 #define JABBER_BUZZ 0 | |
68 | 71 |
69 typedef enum { | 72 typedef enum { |
70 JABBER_STREAM_OFFLINE, | 73 JABBER_STREAM_OFFLINE, |
71 JABBER_STREAM_CONNECTING, | 74 JABBER_STREAM_CONNECTING, |
72 JABBER_STREAM_INITIALIZING, | 75 JABBER_STREAM_INITIALIZING, |
229 void jabber_idle_set(PurpleConnection *gc, int idle); | 232 void jabber_idle_set(PurpleConnection *gc, int idle); |
230 void jabber_keepalive(PurpleConnection *gc); | 233 void jabber_keepalive(PurpleConnection *gc); |
231 void jabber_register_gateway(JabberStream *js, const char *gateway); | 234 void jabber_register_gateway(JabberStream *js, const char *gateway); |
232 void jabber_register_account(PurpleAccount *account); | 235 void jabber_register_account(PurpleAccount *account); |
233 void jabber_unregister_account(PurpleAccount *account, PurpleAccountUnregistrationCb cb, void *user_data); | 236 void jabber_unregister_account(PurpleAccount *account, PurpleAccountUnregistrationCb cb, void *user_data); |
237 gboolean jabber_send_attention(PurpleConnection *gc, const char *username, guint code); | |
238 GList *jabber_attention_types(PurpleAccount *account); | |
234 void jabber_convo_closed(PurpleConnection *gc, const char *who); | 239 void jabber_convo_closed(PurpleConnection *gc, const char *who); |
235 PurpleChat *jabber_find_blist_chat(PurpleAccount *account, const char *name); | 240 PurpleChat *jabber_find_blist_chat(PurpleAccount *account, const char *name); |
236 gboolean jabber_offline_message(const PurpleBuddy *buddy); | 241 gboolean jabber_offline_message(const PurpleBuddy *buddy); |
237 int jabber_prpl_send_raw(PurpleConnection *gc, const char *buf, int len); | 242 int jabber_prpl_send_raw(PurpleConnection *gc, const char *buf, int len); |
238 GList *jabber_actions(PurplePlugin *plugin, gpointer context); | 243 GList *jabber_actions(PurplePlugin *plugin, gpointer context); |