From: Robert Spalek Date: Fri, 25 Jun 2004 17:30:11 +0000 (+0000) Subject: buck2obj_convert() renamed to obj_read_bucket() X-Git-Tag: holmes-import~1010 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a3c49fc5fe4fd271ef34390facf33aade54bedb3;p=libucw.git buck2obj_convert() renamed to obj_read_bucket() --- diff --git a/lib/buck2obj.c b/lib/buck2obj.c index 4ea6a5cc..6aae9280 100644 --- a/lib/buck2obj.c +++ b/lib/buck2obj.c @@ -119,7 +119,7 @@ decode_attributes(byte *ptr, byte *end, struct odes *o, uns can_overwrite) } struct odes * -buck2obj_convert(struct buck2obj_buf *buf, uns buck_type, struct fastbuf *body, uns want_body) +obj_read_bucket(struct buck2obj_buf *buf, uns buck_type, struct fastbuf *body, uns want_body) { mp_flush(buf->mp); struct odes *o = obj_new(buf->mp); diff --git a/lib/buck2obj.h b/lib/buck2obj.h index f2ca8966..6ea274d4 100644 --- a/lib/buck2obj.h +++ b/lib/buck2obj.h @@ -11,7 +11,7 @@ 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, uns want_body); +struct odes *obj_read_bucket(struct buck2obj_buf *buf, uns buck_type, struct fastbuf *body, uns want_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