equal
deleted
inserted
replaced
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 |