outqueue.h | outqueue.h | |||
---|---|---|---|---|
skipping to change at line 86 | skipping to change at line 86 | |||
/// in the queue may need to store. | /// in the queue may need to store. | |||
/// \param threads Number of buffers that may be in use | /// \param threads Number of buffers that may be in use | |||
/// concurrently. Note that more than this numb er | /// concurrently. Note that more than this numb er | |||
/// of buffers will actually get allocated to | /// of buffers will actually get allocated to | |||
/// improve performance when buffers finish | /// improve performance when buffers finish | |||
/// out of order. | /// out of order. | |||
/// | /// | |||
/// \return - LZMA_OK | /// \return - LZMA_OK | |||
/// - LZMA_MEM_ERROR | /// - LZMA_MEM_ERROR | |||
/// | /// | |||
extern lzma_ret lzma_outq_init(lzma_outq *outq, lzma_allocator *allocator, | extern lzma_ret lzma_outq_init( | |||
lzma_outq *outq, const lzma_allocator *allocator, | ||||
uint64_t buf_size_max, uint32_t threads); | uint64_t buf_size_max, uint32_t threads); | |||
/// \brief Free the memory associated with the output queue | /// \brief Free the memory associated with the output queue | |||
extern void lzma_outq_end(lzma_outq *outq, lzma_allocator *allocator); | extern void lzma_outq_end(lzma_outq *outq, const lzma_allocator *allocator) ; | |||
/// \brief Get a new buffer | /// \brief Get a new buffer | |||
/// | /// | |||
/// lzma_outq_has_buf() must be used to check that there is a buffer | /// lzma_outq_has_buf() must be used to check that there is a buffer | |||
/// available before calling lzma_outq_get_buf(). | /// available before calling lzma_outq_get_buf(). | |||
/// | /// | |||
extern lzma_outbuf *lzma_outq_get_buf(lzma_outq *outq); | extern lzma_outbuf *lzma_outq_get_buf(lzma_outq *outq); | |||
/// \brief Test if there is data ready to be read | /// \brief Test if there is data ready to be read | |||
/// | /// | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |