comparison 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
comparison
equal deleted inserted replaced
1018:45d022fbce3a 1019:9d5f6e0ea7b3
31 iqreq_none, 31 iqreq_none,
32 iqreq_version, 32 iqreq_version,
33 iqreq_time, 33 iqreq_time,
34 iqreq_last, 34 iqreq_last,
35 iqreq_vcard 35 iqreq_vcard
36 };
37
38 struct annotation {
39 time_t cdate;
40 time_t mdate;
41 gchar *text;
36 }; 42 };
37 43
38 char *compose_jid(const char *username, const char *servername, 44 char *compose_jid(const char *username, const char *servername,
39 const char *resource); 45 const char *resource);
40 jconn jb_connect(const char *jid, const char *server, unsigned int port, 46 jconn jb_connect(const char *jid, const char *server, unsigned int port,
69 void jb_iqs_display_list(void); 75 void jb_iqs_display_list(void);
70 void jb_request(const char *jid, enum iqreq_type reqtype); 76 void jb_request(const char *jid, enum iqreq_type reqtype);
71 void jb_set_storage_bookmark(const char *roomid, const char *name, 77 void jb_set_storage_bookmark(const char *roomid, const char *name,
72 const char *nick, const char *passwd, 78 const char *nick, const char *passwd,
73 int autojoin); 79 int autojoin);
74 char *jb_get_storage_rosternotes(const char *barejid); 80 struct annotation *jb_get_storage_rosternotes(const char *barejid);
75 void jb_set_storage_rosternotes(const char *barejid, const char *note); 81 void jb_set_storage_rosternotes(const char *barejid, const char *note);
76 82
77 #endif /* __JABGLUE_H__ */ 83 #endif /* __JABGLUE_H__ */
78 84
79 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ 85 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */