Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/hbuf.h @ 1141:5be2408a6534
Add option "max_history_blocks"
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 06 Feb 2007 00:21:42 +0100 |
parents | 6eb1efea75d0 |
children | e802ec0c02d2 |
comparison
equal
deleted
inserted
replaced
1140:800bb1e9019c | 1141:5be2408a6534 |
---|---|
31 guint flags; | 31 guint flags; |
32 char *text; | 32 char *text; |
33 } hbb_line; | 33 } hbb_line; |
34 | 34 |
35 void hbuf_add_line(GList **p_hbuf, const char *text, time_t timestamp, | 35 void hbuf_add_line(GList **p_hbuf, const char *text, time_t timestamp, |
36 guint prefix_flags, guint width); | 36 guint prefix_flags, guint width, guint maxhbufblocks); |
37 void hbuf_free(GList **p_hbuf); | 37 void hbuf_free(GList **p_hbuf); |
38 void hbuf_rebuild(GList **p_hbuf, unsigned int width); | 38 void hbuf_rebuild(GList **p_hbuf, unsigned int width); |
39 GList *hbuf_previous_persistent(GList *l_line); | 39 GList *hbuf_previous_persistent(GList *l_line); |
40 | 40 |
41 hbb_line **hbuf_get_lines(GList *hbuf, unsigned int n); | 41 hbb_line **hbuf_get_lines(GList *hbuf, unsigned int n); |