Mercurial > ~mikael > mcabber > hg
diff mcabber/src/roster.h @ 1355:9716cf8a0726
Add on_server flag
Add a flag to the roster data, TRUE if the roster item is known by the server.
The command /info displays a message if the item is local.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 10 Nov 2007 23:15:16 +0100 |
parents | 0dda8238af21 |
children | cd9182f0b5c7 |
line wrap: on
line diff
--- a/mcabber/src/roster.h Sat Nov 10 23:15:05 2007 +0100 +++ b/mcabber/src/roster.h Sat Nov 10 23:15:16 2007 +0100 @@ -135,7 +135,7 @@ void roster_init(void); GSList *roster_add_group(const char *name); GSList *roster_add_user(const char *jid, const char *name, const char *group, - guint type, enum subscr esub); + guint type, enum subscr esub, gint on_server); GSList *roster_find(const char *jidname, enum findwhat type, guint roster_type); void roster_del_user(const char *jid); void roster_free(void); @@ -197,6 +197,8 @@ void buddy_del_all_resources(gpointer rosterdata); void buddy_setflags(gpointer rosterdata, guint flags, guint value); guint buddy_getflags(gpointer rosterdata); +void buddy_setonserverflag(gpointer rosterdata, guint onserver); +guint buddy_getonserverflag(gpointer rosterdata); GList *buddy_search_jid(const char *jid); GList *buddy_search(char *string); void foreach_buddy(guint roster_type,