2 * Bucket -> Object converter
4 * (c) 2004, Robert Spalek <robert@ucw.cz>
10 struct buck2obj_buf *buck2obj_alloc(void);
11 void buck2obj_free(struct buck2obj_buf *buf);
12 struct odes *obj_read_bucket(struct buck2obj_buf *buf, struct mempool *pool, uns buck_type, uns buck_len, struct fastbuf *body, uns *body_start);
13 /* If body_start != NULL, then only the header is parsed and *body_start is
14 * set to the position of the body. This function does a plenty of optimizations
15 * and if the body fastbuf is overwritable (body->can_overwrite_buffer), it can keep the
16 * attribute values stored on their original locations in the fastbuf's buffer.
17 * However, no such things are performed when reading the header only.