From: Robert Spalek Date: Fri, 25 Jun 2004 16:42:00 +0000 (+0000) Subject: define BUCK2OBJ_INITIAL_MAX_LEN X-Git-Tag: holmes-import~1012 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=fa390094c968bc3b07f7af64edaddb7e773c3b04;p=libucw.git define BUCK2OBJ_INITIAL_MAX_LEN --- diff --git a/lib/buck2obj.h b/lib/buck2obj.h index 0a7d0c05..87d64d92 100644 --- a/lib/buck2obj.h +++ b/lib/buck2obj.h @@ -6,6 +6,8 @@ struct buck2obj_buf; +#define BUCK2OBJ_INITIAL_MAX_LEN (1<<16) + struct buck2obj_buf *buck2obj_alloc(uns max_len, struct mempool *mp); void buck2obj_free(struct buck2obj_buf *buf); void buck2obj_realloc(struct buck2obj_buf *buf, uns max_len);