mirror of
https://github.com/sheumann/hush.git
synced 2025-01-11 08:29:54 +00:00
xz: avoid "NOTE:" in xz.h
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
3a7b2417f9
commit
9056fcecbf
@ -70,7 +70,7 @@ enum xz_mode {
|
|||||||
* @XZ_UNSUPPORTED_CHECK: Integrity check type is not supported. Decoding
|
* @XZ_UNSUPPORTED_CHECK: Integrity check type is not supported. Decoding
|
||||||
* is still possible in multi-call mode by simply
|
* is still possible in multi-call mode by simply
|
||||||
* calling xz_dec_run() again.
|
* calling xz_dec_run() again.
|
||||||
* NOTE: This return value is used only if
|
* Note that this return value is used only if
|
||||||
* XZ_DEC_ANY_CHECK was defined at build time,
|
* XZ_DEC_ANY_CHECK was defined at build time,
|
||||||
* which is not used in the kernel. Unsupported
|
* which is not used in the kernel. Unsupported
|
||||||
* check types return XZ_OPTIONS_ERROR if
|
* check types return XZ_OPTIONS_ERROR if
|
||||||
@ -105,7 +105,7 @@ enum xz_mode {
|
|||||||
* stream that is truncated or otherwise corrupt.
|
* stream that is truncated or otherwise corrupt.
|
||||||
*
|
*
|
||||||
* In single-call mode, XZ_BUF_ERROR is returned only when the output buffer
|
* In single-call mode, XZ_BUF_ERROR is returned only when the output buffer
|
||||||
* is too small, or the compressed input is corrupt in a way that makes the
|
* is too small or the compressed input is corrupt in a way that makes the
|
||||||
* decoder produce more output than the caller expected. When it is
|
* decoder produce more output than the caller expected. When it is
|
||||||
* (relatively) clear that the compressed input is truncated, XZ_DATA_ERROR
|
* (relatively) clear that the compressed input is truncated, XZ_DATA_ERROR
|
||||||
* is used instead of XZ_BUF_ERROR.
|
* is used instead of XZ_BUF_ERROR.
|
||||||
@ -207,8 +207,8 @@ XZ_EXTERN struct xz_dec * XZ_FUNC xz_dec_init(
|
|||||||
* The possible return values depend on build options and operation mode.
|
* The possible return values depend on build options and operation mode.
|
||||||
* See enum xz_ret for details.
|
* See enum xz_ret for details.
|
||||||
*
|
*
|
||||||
* NOTE: If an error occurs in single-call mode (return value is not
|
* Note that if an error occurs in single-call mode (return value is not
|
||||||
* XZ_STREAM_END), b->in_pos and b->out_pos are not modified, and the
|
* XZ_STREAM_END), b->in_pos and b->out_pos are not modified and the
|
||||||
* contents of the output buffer from b->out[b->out_pos] onward are
|
* contents of the output buffer from b->out[b->out_pos] onward are
|
||||||
* undefined. This is true even after XZ_BUF_ERROR, because with some filter
|
* undefined. This is true even after XZ_BUF_ERROR, because with some filter
|
||||||
* chains, there may be a second pass over the output buffer, and this pass
|
* chains, there may be a second pass over the output buffer, and this pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user