comparison mcabber/src/hbuf.h @ 75:ff119bb11563

[/trunk] Changeset 89 by mikael * Fix wrapping (prefix) issue.
author mikael
date Sat, 16 Apr 2005 17:14:55 +0000
parents 1e9d4949bcfd
children 9a31028e8095
comparison
equal deleted inserted replaced
74:b392112ab995 75:ff119bb11563
10 // - PERSISTENT: this is a new history line 10 // - PERSISTENT: this is a new history line
11 #define HBB_FLAG_ALLOC 1 11 #define HBB_FLAG_ALLOC 1
12 #define HBB_FLAG_PERSISTENT 2 12 #define HBB_FLAG_PERSISTENT 2
13 // #define HBB_FLAG_FREE 4 13 // #define HBB_FLAG_FREE 4
14 14
15 void hbuf_add_line(GList **p_hbuf, char *text, unsigned int width); 15 void hbuf_add_line(GList **p_hbuf, const char *text, const char *prefix,
16 unsigned int width);
16 void hbuf_free(GList **p_hbuf); 17 void hbuf_free(GList **p_hbuf);
17 void hbuf_rebuild(GList **p_hbuf, unsigned int width); 18 void hbuf_rebuild(GList **p_hbuf, unsigned int width);
18 19
19 char **hbuf_get_lines(GList *hbuf, unsigned int n); 20 char **hbuf_get_lines(GList *hbuf, unsigned int n);
20 21