mcabber/src/hbuf.h
changeset 1204 e802ec0c02d2
parent 1141 5be2408a6534
child 1227 79c396678f1b
equal deleted inserted replaced
1203:c96fef31ff96 1204:e802ec0c02d2
    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          1U
    17 #define HBB_PREFIX_IN         (1U<<0)
    18 #define HBB_PREFIX_OUT         2U
    18 #define HBB_PREFIX_OUT        (1U<<1)
    19 #define HBB_PREFIX_STATUS      4U
    19 #define HBB_PREFIX_STATUS     (1U<<2)
    20 #define HBB_PREFIX_AUTH        8U
    20 #define HBB_PREFIX_AUTH       (1U<<3)
    21 #define HBB_PREFIX_INFO       16U
    21 #define HBB_PREFIX_INFO       (1U<<4)
    22 #define HBB_PREFIX_ERR        32U
    22 #define HBB_PREFIX_ERR        (1U<<5)
    23 #define HBB_PREFIX_NOFLAG     64U
    23 #define HBB_PREFIX_NOFLAG     (1U<<6)
    24 #define HBB_PREFIX_HLIGHT    128U
    24 #define HBB_PREFIX_HLIGHT_OUT (1U<<7)
    25 #define HBB_PREFIX_NONE      256U
    25 #define HBB_PREFIX_HLIGHT     (1U<<8)
    26 #define HBB_PREFIX_SPECIAL   512U
    26 #define HBB_PREFIX_NONE       (1U<<9)
    27 #define HBB_PREFIX_PGPCRYPT 1024U
    27 #define HBB_PREFIX_SPECIAL    (1U<<10)
       
    28 #define HBB_PREFIX_PGPCRYPT   (1U<<11)
    28 
    29 
    29 typedef struct {
    30 typedef struct {
    30   time_t timestamp;
    31   time_t timestamp;
    31   guint flags;
    32   guint flags;
    32   char *text;
    33   char *text;