X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fbuck2obj.h;h=0a7d0c05bca253c972bf9a23781f8fbcd0264593;hb=1b0a16240bdcc069979452f56fbbf2299625be78;hp=d98364e4f2674d7adbfc545dfe3b4617cdbbe273;hpb=94fe89c4f19dca7d9c11a55fdb80209ee2ff59d4;p=libucw.git diff --git a/lib/buck2obj.h b/lib/buck2obj.h index d98364e4..0a7d0c05 100644 --- a/lib/buck2obj.h +++ b/lib/buck2obj.h @@ -8,4 +8,9 @@ struct buck2obj_buf; 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); struct odes *buck2obj_convert(struct buck2obj_buf *buf, uns buck_type, struct fastbuf *body); + /* If BCONFIG_CAN_OVERWRITE(body)==2, then the buffer of body has probably + * been tampered (unless the bucket is larger than the buffer). In such a + * case, you must call bflush(body) before you do anything else than + * sequential read. */