diff mcabber/mcabber/hbuf.h @ 1948:e8cebf5fd36c

Add readmark support
author Mikael Berthe <mikael@lilotux.net>
date Mon, 14 Mar 2011 12:48:15 +0100
parents e6d355e50d7a
children f309f343070c
line wrap: on
line diff
--- a/mcabber/mcabber/hbuf.h	Thu Mar 03 19:56:44 2011 +0100
+++ b/mcabber/mcabber/hbuf.h	Mon Mar 14 12:48:15 2011 +0100
@@ -29,6 +29,7 @@
 #define HBB_PREFIX_OTRCRYPT   (1U<<12)
 #define HBB_PREFIX_CONT       (1U<<13)
 #define HBB_PREFIX_RECEIPT    (1U<<14)
+#define HBB_PREFIX_READMARK   (1U<<15)
 
 typedef struct {
   time_t timestamp;
@@ -49,6 +50,7 @@
 GList *hbuf_jump_date(GList *hbuf, time_t t);
 GList *hbuf_jump_percent(GList *hbuf, int pc);
 gboolean hbuf_remove_receipt(GList *hbuf, gpointer xep184);
+void hbuf_set_readmark(GList *hbuf, gboolean action);
 
 void hbuf_dump_to_file(GList *hbuf, const char *filename);