diff mcabber/src/jabglue.h @ 1019:9d5f6e0ea7b3

XEP-0145: display note dates Display note creation/modification dates (if available) in /roster note.
author Mikael Berthe <mikael@lilotux.net>
date Wed, 15 Nov 2006 22:24:20 +0100
parents 4d3c48844746
children 4c8d7b558e83
line wrap: on
line diff
--- a/mcabber/src/jabglue.h	Wed Nov 15 19:27:59 2006 +0100
+++ b/mcabber/src/jabglue.h	Wed Nov 15 22:24:20 2006 +0100
@@ -35,6 +35,12 @@
   iqreq_vcard
 };
 
+struct annotation {
+  time_t cdate;
+  time_t mdate;
+  gchar *text;
+};
+
 char *compose_jid(const char *username, const char *servername,
                   const char *resource);
 jconn jb_connect(const char *jid, const char *server, unsigned int port,
@@ -71,7 +77,7 @@
 void jb_set_storage_bookmark(const char *roomid, const char *name,
                              const char *nick, const char *passwd,
                              int autojoin);
-char *jb_get_storage_rosternotes(const char *barejid);
+struct annotation *jb_get_storage_rosternotes(const char *barejid);
 void jb_set_storage_rosternotes(const char *barejid, const char *note);
 
 #endif /* __JABGLUE_H__ */