Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/hbuf.h @ 106:9a31028e8095
[/trunk] Changeset 120 by mikael
* Increase HBB_BLOCKSIZE
author | mikael |
---|---|
date | Fri, 22 Apr 2005 21:40:21 +0000 |
parents | ff119bb11563 |
children | b5aa2b9c425a |
comparison
equal
deleted
inserted
replaced
105:91d3ec21c24e | 106:9a31028e8095 |
---|---|
1 #ifndef __HBUF_H__ | 1 #ifndef __HBUF_H__ |
2 #define __HBUF_H__ 1 | 2 #define __HBUF_H__ 1 |
3 | 3 |
4 #include <glib.h> | 4 #include <glib.h> |
5 | 5 |
6 #define HBB_BLOCKSIZE 1024 // > 20 please | 6 // With current implementation a message must fit in a hbuf block, |
7 // so we shouldn't choose a too small size. | |
8 #define HBB_BLOCKSIZE 2048 // > 20 please | |
7 | 9 |
8 // Flags: | 10 // Flags: |
9 // - ALLOC: the ptr data has been allocated, it can be freed | 11 // - ALLOC: the ptr data has been allocated, it can be freed |
10 // - PERSISTENT: this is a new history line | 12 // - PERSISTENT: this is a new history line |
11 #define HBB_FLAG_ALLOC 1 | 13 #define HBB_FLAG_ALLOC 1 |