From da6eadc840716eb29b0175f39b2790bba166db4a Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 16 Nov 2022 15:41:57 +0100 Subject: Add a single, central hex blob decoder Since we need it twice (once for tar, once for the filemap xattr parser), add a single, central implementation to libutil, add a unit test for that implementation and then use it in both libtar and gensquashfs. Signed-off-by: David Oberhollenzer --- lib/tar/internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/tar/internal.h') diff --git a/lib/tar/internal.h b/lib/tar/internal.h index cfbb938..c5483fe 100644 --- a/lib/tar/internal.h +++ b/lib/tar/internal.h @@ -11,6 +11,7 @@ #include "tar/tar.h" #include "tar/format.h" +#include "util/util.h" enum { PAX_SIZE = 0x001, -- cgit v1.2.3