Add function to generate uthash after write
authorStefano Babic <sbabic@denx.de>
Fri, 10 Sep 2021 20:42:33 +0000 (22:42 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Oct 2021 09:11:47 +0000 (11:11 +0200)
commit056a7e2684d5bc99a5e530f589670bff58c4568c
treeb1178380fe5587d13d9f337480872cce95daeb60
parent75a92188f317b5c779516b34114c09f3373d62fb
Add function to generate uthash after write

uthash are generated only when a zck is read when index is parsed. In
case a comparison is done between a zck and a generated zck, to search
for hash both need to have a uthash database, so add function to create
the database when zck is created.

Add a function to assembly a zck with chunks from another zck (source).
The resulkting zck will contain all chunks from source when the hash
(compressed or not compressed in case the compressors are different)
matches.

Signed-off-by: Stefano Babic <sbabic@denx.de>
include/zck.h.in
src/lib/dl/dl.c
src/lib/index/index_common.c
src/lib/index/index_read.c