Release 2.13.2

- [BUGFIX] Use of new lsxpack_header API's hsi_prepare_decode().
This commit is contained in:
Dmitri Tikhonov 2020-03-13 11:24:36 -04:00
parent 02a4ee50be
commit 992bbcdba6
11 changed files with 63 additions and 57 deletions

View file

@ -1421,11 +1421,16 @@ fields yourself. In that case, the header set must be "read" from the stream vi
.. member:: struct lsxpack_header * (*hsi_prepare_decode)(void *hdr_set, struct lsxpack_header *hdr, size_t space)
Return a header set prepared for decoding. If ``hdr`` is NULL, this
means return a new structure with at least `space' bytes available
in the decoder buffer. If `hdr' is not NULL, it means there was not
enough decoder buffer and it must be increased by ``space`` bytes.
means return a new structure with at least ``space`` bytes available
in the decoder buffer. On success, a newly prepared header is
returned.
If NULL is returned the header set is discarded.
If ``hdr`` is not NULL, it means there was not enough decoder buffer
and it must be increased to at least ``space`` bytes. ``buf``, ``val_len``,
and ``name_offset`` member of the ``hdr`` structure may change. On
success, the return value is the same as ``hdr``.
If NULL is returned, the space cannot be allocated.
.. member:: int (*hsi_process_header)(void *hdr_set, struct lsxpack_header *hdr)

View file

@ -26,7 +26,7 @@ author = u'LiteSpeed Technologies'
# The short X.Y version
version = u'2.13'
# The full version, including alpha/beta/rc tags
release = u'2.13.1'
release = u'2.13.2'
# -- General configuration ---------------------------------------------------