]> mj.ucw.cz Git - libucw.git/blobdiff - lib/buck2obj.h
added buck2obj_realloc(), it is automatically called when needed
[libucw.git] / lib / buck2obj.h
index e59ead024b0d76f128597c4b7b8c7fc7c1501473..0a7d0c05bca253c972bf9a23781f8fbcd0264593 100644 (file)
@@ -8,6 +8,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);
   /* 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