index.h (207842) | index.h (213700) |
---|---|
1/** 2 * \file lzma/index.h 3 * \brief Handling of .xz Index and related information 4 */ 5 6/* 7 * Author: Lasse Collin 8 * --- 354 unchanged lines hidden (view full) --- 363extern LZMA_API(lzma_ret) lzma_index_stream_flags( 364 lzma_index *i, const lzma_stream_flags *stream_flags) 365 lzma_nothrow lzma_attr_warn_unused_result; 366 367 368/** 369 * \brief Get the types of integrity Checks 370 * | 1/** 2 * \file lzma/index.h 3 * \brief Handling of .xz Index and related information 4 */ 5 6/* 7 * Author: Lasse Collin 8 * --- 354 unchanged lines hidden (view full) --- 363extern LZMA_API(lzma_ret) lzma_index_stream_flags( 364 lzma_index *i, const lzma_stream_flags *stream_flags) 365 lzma_nothrow lzma_attr_warn_unused_result; 366 367 368/** 369 * \brief Get the types of integrity Checks 370 * |
371 * If lzma_index_stream_padding() is used to set the Stream Flags for | 371 * If lzma_index_stream_flags() is used to set the Stream Flags for |
372 * every Stream, lzma_index_checks() can be used to get a bitmask to 373 * indicate which Check types have been used. It can be useful e.g. if 374 * showing the Check types to the user. 375 * 376 * The bitmask is 1 << check_id, e.g. CRC32 is 1 << 1 and SHA-256 is 1 << 10. 377 */ 378extern LZMA_API(uint32_t) lzma_index_checks(const lzma_index *i) 379 lzma_nothrow lzma_attr_pure; --- 177 unchanged lines hidden (view full) --- 557 * malloc() and free(). 558 * 559 * \return - LZMA_OK: lzma_indexes were concatenated successfully. 560 * src is now a dangling pointer. 561 * - LZMA_DATA_ERROR: *dest would grow too big. 562 * - LZMA_MEM_ERROR 563 * - LZMA_PROG_ERROR 564 */ | 372 * every Stream, lzma_index_checks() can be used to get a bitmask to 373 * indicate which Check types have been used. It can be useful e.g. if 374 * showing the Check types to the user. 375 * 376 * The bitmask is 1 << check_id, e.g. CRC32 is 1 << 1 and SHA-256 is 1 << 10. 377 */ 378extern LZMA_API(uint32_t) lzma_index_checks(const lzma_index *i) 379 lzma_nothrow lzma_attr_pure; --- 177 unchanged lines hidden (view full) --- 557 * malloc() and free(). 558 * 559 * \return - LZMA_OK: lzma_indexes were concatenated successfully. 560 * src is now a dangling pointer. 561 * - LZMA_DATA_ERROR: *dest would grow too big. 562 * - LZMA_MEM_ERROR 563 * - LZMA_PROG_ERROR 564 */ |
565extern LZMA_API(lzma_ret) lzma_index_cat(lzma_index *lzma_restrict dest, 566 lzma_index *lzma_restrict src, 567 lzma_allocator *allocator) | 565extern LZMA_API(lzma_ret) lzma_index_cat( 566 lzma_index *dest, lzma_index *src, lzma_allocator *allocator) |
568 lzma_nothrow lzma_attr_warn_unused_result; 569 570 571/** 572 * \brief Duplicate lzma_index 573 * 574 * \return A copy of the lzma_index, or NULL if memory allocation failed. 575 */ --- 102 unchanged lines hidden --- | 567 lzma_nothrow lzma_attr_warn_unused_result; 568 569 570/** 571 * \brief Duplicate lzma_index 572 * 573 * \return A copy of the lzma_index, or NULL if memory allocation failed. 574 */ --- 102 unchanged lines hidden --- |