Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/jab_priv.h @ 1213:4a7db2870685
Improve Private Storage detection.
MCabber now correctly detects Private Storage support when receiving an
item-not-found error (which doesn't mean the server has no support for P.S.,
but that it's empty).
I've added a return value to the callback functions. For now the return value
is only used for IQ error handling.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 01 May 2007 18:16:11 +0200 |
parents | c0d44a9a99bc |
children | 80c095886fb5 |
comparison
equal
deleted
inserted
replaced
1212:3b21353e4ad3 | 1213:4a7db2870685 |
---|---|
39 void display_server_error(xmlnode x); | 39 void display_server_error(xmlnode x); |
40 eviqs *iqs_new(guint8 type, const char *ns, const char *prefix, time_t timeout); | 40 eviqs *iqs_new(guint8 type, const char *ns, const char *prefix, time_t timeout); |
41 int iqs_del(const char *iqid); | 41 int iqs_del(const char *iqid); |
42 int iqs_callback(const char *iqid, xmlnode xml_result, guint iqcontext); | 42 int iqs_callback(const char *iqid, xmlnode xml_result, guint iqcontext); |
43 void iqs_check_timeout(time_t now_t); | 43 void iqs_check_timeout(time_t now_t); |
44 void iqscallback_auth(eviqs *iqp, xmlnode xml_result); | 44 int iqscallback_auth(eviqs *iqp, xmlnode xml_result); |
45 void request_version(const char *fulljid); | 45 void request_version(const char *fulljid); |
46 void request_time(const char *fulljid); | 46 void request_time(const char *fulljid); |
47 void request_last(const char *fulljid); | 47 void request_last(const char *fulljid); |
48 void request_vcard(const char *barejid); | 48 void request_vcard(const char *barejid); |
49 void send_storage_bookmarks(void); | 49 void send_storage_bookmarks(void); |