Mercurial > hg
comparison mcabber/src/hbuf.h @ 847:e1b7f71b0b1c
Improve readability for some commands
Use HBB_PREFIX_NONE in /info, /room names & /room whois.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 08 May 2006 22:38:30 +0200 |
parents | b16acadd7d53 |
children | d0781ca2dd08 |
comparison
equal
deleted
inserted
replaced
846:683516b450be | 847:e1b7f71b0b1c |
---|---|
12 // - ALLOC: the ptr data has been allocated, it can be freed | 12 // - ALLOC: the ptr data has been allocated, it can be freed |
13 // - PERSISTENT: this is a new history line | 13 // - PERSISTENT: this is a new history line |
14 #define HBB_FLAG_ALLOC 1 | 14 #define HBB_FLAG_ALLOC 1 |
15 #define HBB_FLAG_PERSISTENT 2 | 15 #define HBB_FLAG_PERSISTENT 2 |
16 | 16 |
17 #define HBB_PREFIX_IN 1 | 17 #define HBB_PREFIX_IN 1 |
18 #define HBB_PREFIX_OUT 2 | 18 #define HBB_PREFIX_OUT 2 |
19 #define HBB_PREFIX_STATUS 4 | 19 #define HBB_PREFIX_STATUS 4 |
20 #define HBB_PREFIX_AUTH 8 | 20 #define HBB_PREFIX_AUTH 8 |
21 #define HBB_PREFIX_INFO 16 | 21 #define HBB_PREFIX_INFO 16 |
22 #define HBB_PREFIX_ERR 32 | 22 #define HBB_PREFIX_ERR 32 |
23 #define HBB_PREFIX_NOFLAG 64 | 23 #define HBB_PREFIX_NOFLAG 64 |
24 #define HBB_PREFIX_HLIGHT 128 | 24 #define HBB_PREFIX_HLIGHT 128 |
25 #define HBB_PREFIX_NONE 256 | |
25 | 26 |
26 typedef struct { | 27 typedef struct { |
27 time_t timestamp; | 28 time_t timestamp; |
28 guchar flags; | 29 guchar flags; |
29 char *text; | 30 char *text; |