Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/hbuf.h @ 952:527d6f234924
Small code cleanup
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 26 Aug 2006 21:13:13 +0200 |
parents | d0781ca2dd08 |
children | 6eb1efea75d0 |
comparison
equal
deleted
inserted
replaced
951:f243293e70ad | 952:527d6f234924 |
---|---|
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 1U |
18 #define HBB_PREFIX_OUT 2 | 18 #define HBB_PREFIX_OUT 2U |
19 #define HBB_PREFIX_STATUS 4 | 19 #define HBB_PREFIX_STATUS 4U |
20 #define HBB_PREFIX_AUTH 8 | 20 #define HBB_PREFIX_AUTH 8U |
21 #define HBB_PREFIX_INFO 16 | 21 #define HBB_PREFIX_INFO 16U |
22 #define HBB_PREFIX_ERR 32 | 22 #define HBB_PREFIX_ERR 32U |
23 #define HBB_PREFIX_NOFLAG 64 | 23 #define HBB_PREFIX_NOFLAG 64U |
24 #define HBB_PREFIX_HLIGHT 128 | 24 #define HBB_PREFIX_HLIGHT 128U |
25 #define HBB_PREFIX_NONE 256 | 25 #define HBB_PREFIX_NONE 256U |
26 #define HBB_PREFIX_SPECIAL 512 | 26 #define HBB_PREFIX_SPECIAL 512U |
27 | 27 |
28 typedef struct { | 28 typedef struct { |
29 time_t timestamp; | 29 time_t timestamp; |
30 guint flags; | 30 guint flags; |
31 char *text; | 31 char *text; |