Mercurial > hg
diff mcabber/src/roster.h @ 848:a9161d2dc414
Introduce special buffer stuff
Update roster and commands: add support for a new "special" kind of buffer.
A special buffer "[status]" is automatically created at startup.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 08 May 2006 23:45:58 +0200 |
parents | c2d7d9dd4193 |
children | 4f1a93faffea |
line wrap: on
line diff
--- a/mcabber/src/roster.h Mon May 08 22:38:30 2006 +0200 +++ b/mcabber/src/roster.h Mon May 08 23:45:58 2006 +0200 @@ -63,6 +63,7 @@ #define ROSTER_TYPE_GROUP 2 #define ROSTER_TYPE_AGENT 4 #define ROSTER_TYPE_ROOM 8 +#define ROSTER_TYPE_SPECIAL 16 // Flags: #define ROSTER_FLAG_MSG 1 // Message not read @@ -80,6 +81,7 @@ #define CURRENT_JID buddy_getjid(BUDDATA(current_buddy)) // Prototypes... +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);