comparison mcabber/src/roster.h @ 889:ae93e69aaaaf

Fix up pending message flag for the status special buffer It's still disabled (because it isn't useful as is).
author Mikael Berthe <mikael@lilotux.net>
date Tue, 30 May 2006 23:22:37 +0200
parents afdd81c2c44d
children 527d6f234924
comparison
equal deleted inserted replaced
888:578d2034e971 889:ae93e69aaaaf
1 #ifndef __ROSTER_H__ 1 #ifndef __ROSTER_H__
2 #define __ROSTER_H__ 1 2 #define __ROSTER_H__ 1
3 3
4 #include <glib.h> 4 #include <glib.h>
5 #include <time.h> 5 #include <time.h>
6
7 #define SPECIAL_BUFFER_STATUS_ID "[status]"
6 8
7 enum imstatus { 9 enum imstatus {
8 offline, 10 offline,
9 available, 11 available,
10 invisible, 12 invisible,
92 enum imstatus bstat, const char *status_msg, 94 enum imstatus bstat, const char *status_msg,
93 time_t timestamp, 95 time_t timestamp,
94 enum imrole role, enum imaffiliation affil, 96 enum imrole role, enum imaffiliation affil,
95 const char *realjid); 97 const char *realjid);
96 void roster_setflags(const char *jid, guint flags, guint value); 98 void roster_setflags(const char *jid, guint flags, guint value);
97 void roster_msg_setflag(const char *jid, guint value); 99 void roster_msg_setflag(const char *jid, guint special, guint value);
98 const char *roster_getname(const char *jid); 100 const char *roster_getname(const char *jid);
99 const char *roster_getnickname(const char *jid); 101 const char *roster_getnickname(const char *jid);
100 void roster_settype(const char *jid, guint type); 102 void roster_settype(const char *jid, guint type);
101 enum imstatus roster_getstatus(const char *jid, const char *resname); 103 enum imstatus roster_getstatus(const char *jid, const char *resname);
102 const char *roster_getstatusmsg(const char *jid, const char *resname); 104 const char *roster_getstatusmsg(const char *jid, const char *resname);