Mercurial > hg
comparison mcabber/src/roster.c @ 141:6533a231a65e
[/trunk] Changeset 153 by mikael
* We now rebuild the buddy list when receiving a message from an
offline/invisible buddy.
author | mikael |
---|---|
date | Thu, 28 Apr 2005 20:34:40 +0000 |
parents | 81ccb1091dd8 |
children | 7571de4aed73 |
comparison
equal
deleted
inserted
replaced
140:3b480b73df19 | 141:6533a231a65e |
---|---|
260 if ((sl_user = roster_find(jid, jidsearch, 0)) == NULL) | 260 if ((sl_user = roster_find(jid, jidsearch, 0)) == NULL) |
261 return 0; | 261 return 0; |
262 | 262 |
263 roster_usr = (roster*)sl_user->data; | 263 roster_usr = (roster*)sl_user->data; |
264 return roster_usr->type; | 264 return roster_usr->type; |
265 } | |
266 | |
267 inline guint roster_exists(const char *jidname, enum findwhat type, | |
268 guint roster_type) | |
269 { | |
270 if (roster_find(jidname, type, roster_type)) | |
271 return TRUE; | |
272 return FALSE; | |
265 } | 273 } |
266 | 274 |
267 // char *roster_getgroup(...) / Or *GSList? Which use?? | 275 // char *roster_getgroup(...) / Or *GSList? Which use?? |
268 // ... setgroup(char*) ?? | 276 // ... setgroup(char*) ?? |
269 // guchar roster_getflags(...) | 277 // guchar roster_getflags(...) |