comparison mcabber/src/jabglue.h @ 1022:4c8d7b558e83

Annotations listing (/roster note in the status buffer)
author Mikael Berthe <mikael@lilotux.net>
date Sat, 18 Nov 2006 10:44:58 +0100
parents 9d5f6e0ea7b3
children 94d9a3cbb211
comparison
equal deleted inserted replaced
1021:97f862e44d5d 1022:4c8d7b558e83
36 }; 36 };
37 37
38 struct annotation { 38 struct annotation {
39 time_t cdate; 39 time_t cdate;
40 time_t mdate; 40 time_t mdate;
41 gchar *jid;
41 gchar *text; 42 gchar *text;
42 }; 43 };
43 44
44 char *compose_jid(const char *username, const char *servername, 45 char *compose_jid(const char *username, const char *servername,
45 const char *resource); 46 const char *resource);
76 void jb_request(const char *jid, enum iqreq_type reqtype); 77 void jb_request(const char *jid, enum iqreq_type reqtype);
77 void jb_set_storage_bookmark(const char *roomid, const char *name, 78 void jb_set_storage_bookmark(const char *roomid, const char *name,
78 const char *nick, const char *passwd, 79 const char *nick, const char *passwd,
79 int autojoin); 80 int autojoin);
80 struct annotation *jb_get_storage_rosternotes(const char *barejid); 81 struct annotation *jb_get_storage_rosternotes(const char *barejid);
82 GSList *jb_get_all_storage_rosternotes(void);
81 void jb_set_storage_rosternotes(const char *barejid, const char *note); 83 void jb_set_storage_rosternotes(const char *barejid, const char *note);
82 84
83 #endif /* __JABGLUE_H__ */ 85 #endif /* __JABGLUE_H__ */
84 86
85 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ 87 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */