Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/archival/libarchive/unxz/xz.h

    r2725 r3621  
    1818#   include <stddef.h>
    1919#   include <stdint.h>
     20#endif
     21
     22#ifdef __cplusplus
     23extern "C" {
    2024#endif
    2125
     
    7175 *                          is still possible in multi-call mode by simply
    7276 *                          calling xz_dec_run() again.
    73  *                          NOTE: This return value is used only if
     77 *                          Note that this return value is used only if
    7478 *                          XZ_DEC_ANY_CHECK was defined at build time,
    7579 *                          which is not used in the kernel. Unsupported
     
    106110 *
    107111 * In single-call mode, XZ_BUF_ERROR is returned only when the output buffer
    108  * is too small, or the compressed input is corrupt in a way that makes the
     112 * is too small or the compressed input is corrupt in a way that makes the
    109113 * decoder produce more output than the caller expected. When it is
    110114 * (relatively) clear that the compressed input is truncated, XZ_DATA_ERROR
     
    208212 * See enum xz_ret for details.
    209213 *
    210  * NOTE: If an error occurs in single-call mode (return value is not
    211  * XZ_STREAM_END), b->in_pos and b->out_pos are not modified, and the
     214 * Note that if an error occurs in single-call mode (return value is not
     215 * XZ_STREAM_END), b->in_pos and b->out_pos are not modified and the
    212216 * contents of the output buffer from b->out[b->out_pos] onward are
    213217 * undefined. This is true even after XZ_BUF_ERROR, because with some filter
     
    269273        const uint8_t *buf, size_t size, uint32_t crc);
    270274#endif
    271 #endif
     275
     276#ifdef __cplusplus
     277}
     278#endif
     279
     280#endif
Note: See TracChangeset for help on using the changeset viewer.