index_hash.h | index_hash.h | |||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
* | * | |||
* If index_hash is NULL, a new lzma_index_hash structure is allocated, | * If index_hash is NULL, a new lzma_index_hash structure is allocated, | |||
* initialized, and a pointer to it returned. If allocation fails, NULL | * initialized, and a pointer to it returned. If allocation fails, NULL | |||
* is returned. | * is returned. | |||
* | * | |||
* If index_hash is non-NULL, it is reinitialized and the same pointer | * If index_hash is non-NULL, it is reinitialized and the same pointer | |||
* returned. In this case, return value cannot be NULL or a different | * returned. In this case, return value cannot be NULL or a different | |||
* pointer than the index_hash that was given as an argument. | * pointer than the index_hash that was given as an argument. | |||
*/ | */ | |||
extern LZMA_API(lzma_index_hash *) lzma_index_hash_init( | extern LZMA_API(lzma_index_hash *) lzma_index_hash_init( | |||
lzma_index_hash *index_hash, lzma_allocator *allocator) | lzma_index_hash *index_hash, const lzma_allocator *allocator ) | |||
lzma_nothrow lzma_attr_warn_unused_result; | lzma_nothrow lzma_attr_warn_unused_result; | |||
/** | /** | |||
* \brief Deallocate lzma_index_hash structure | * \brief Deallocate lzma_index_hash structure | |||
*/ | */ | |||
extern LZMA_API(void) lzma_index_hash_end( | extern LZMA_API(void) lzma_index_hash_end( | |||
lzma_index_hash *index_hash, lzma_allocator *allocator) | lzma_index_hash *index_hash, const lzma_allocator *allocator ) | |||
lzma_nothrow; | lzma_nothrow; | |||
/** | /** | |||
* \brief Add a new Record to an Index hash | * \brief Add a new Record to an Index hash | |||
* | * | |||
* \param index Pointer to a lzma_index_hash structure | * \param index Pointer to a lzma_index_hash structure | |||
* \param unpadded_size Unpadded Size of a Block | * \param unpadded_size Unpadded Size of a Block | |||
* \param uncompressed_size Uncompressed Size of a Block | * \param uncompressed_size Uncompressed Size of a Block | |||
* | * | |||
* \return - LZMA_OK | * \return - LZMA_OK | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 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/ |