diff mcabber/src/jabglue.h @ 1525:68580b6be895

Display more information in /room bookmark (autojoin, nick...) With this patch /room bookmark adds a '*' prefix when autojoin is set in the bookmark list. It also displays the nick and the room name contained in the bookmarks.
author Mikael Berthe <mikael@lilotux.net>
date Thu, 02 Oct 2008 20:00:11 +0200
parents f89844a0448a
children
line wrap: on
line diff
--- a/mcabber/src/jabglue.h	Wed Oct 01 20:36:22 2008 +0200
+++ b/mcabber/src/jabglue.h	Thu Oct 02 20:00:11 2008 +0200
@@ -42,6 +42,15 @@
   gchar *text;
 };
 
+struct bookmark {
+  gchar *roomjid;
+  gchar *name;
+  gchar *nick;
+  guint autojoin;
+  /* enum room_printstatus pstatus; */
+  /* enum room_autowhois awhois; */
+};
+
 char *jidtodisp(const char *fjid);
 char *compose_jid(const char *username, const char *servername,
                   const char *resource);