mcabber/src/hbuf.h
changeset 795 b16acadd7d53
parent 728 421b337dc6d2
child 847 e1b7f71b0b1c
equal deleted inserted replaced
794:32d5298f9f8d 795:b16acadd7d53
     4 #include <time.h>
     4 #include <time.h>
     5 #include <glib.h>
     5 #include <glib.h>
     6 
     6 
     7 // With current implementation a message must fit in a hbuf block,
     7 // With current implementation a message must fit in a hbuf block,
     8 // so we shouldn't choose a too small size.
     8 // so we shouldn't choose a too small size.
     9 #define HBB_BLOCKSIZE   4096    // > 20 please
     9 #define HBB_BLOCKSIZE   8192    // > 20 please
    10 
    10 
    11 // Flags:
    11 // Flags:
    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