Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/events.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 | ac9c89f6cb51 |
children | a087125d8fc8 |
comparison
equal
deleted
inserted
replaced
1212:3b21353e4ad3 | 1213:4a7db2870685 |
---|---|
21 char *id; | 21 char *id; |
22 time_t ts_create; | 22 time_t ts_create; |
23 time_t ts_expire; | 23 time_t ts_expire; |
24 guint8 type; | 24 guint8 type; |
25 gpointer data; | 25 gpointer data; |
26 void (*callback)(); | 26 int (*callback)(); |
27 xmlnode xmldata; | 27 xmlnode xmldata; |
28 char *desc; | 28 char *desc; |
29 } eviqs; | 29 } eviqs; |
30 | 30 |
31 typedef struct { | 31 typedef struct { |