about summary refs log tree commit diff stats
path: root/src/ui/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/buffer.h')
-rw-r--r--src/ui/buffer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/buffer.h b/src/ui/buffer.h
index 65bd8b8d..3523f4bc 100644
--- a/src/ui/buffer.h
+++ b/src/ui/buffer.h
@@ -8,7 +8,7 @@
 
 typedef struct prof_buff_entry_t {
   char show_char;
-  GTimeVal tstamp;
+  char *date_fmt;
   int flags;
   int attrs;
   char *from;
@@ -24,6 +24,8 @@ typedef struct prof_buff_t {
 
 ProfBuff* buffer_create();
 void buffer_free(ProfBuff* buffer);
-void buffer_push(ProfBuff* buffer, const char show_char, GTimeVal *tstamp, int flags, int attrs, const char * const from, const char * const message);
+void buffer_push(ProfBuff* buffer, const char show_char, const char * const date_fmt, int flags, int attrs, const char * const from, const char * const message);
+int buffer_size(ProfBuff* buffer);
 int buffer_yield(ProfBuff* buffer, int line, ProfBuffEntry** list);
+ProfBuffEntry buffer_yield_entry(ProfBuff* buffer, int entry);
 #endif