From 44c81eeffe9c8820b1009a7a5c728782aa5ebf40 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 3 Mar 2020 19:43:54 +0100 Subject: Add a generic copying mechanism to sqfs_object_t This patch adds a deep-copy callback to sqfs_object_t and removes the copying mechanism from sqfs_compressor_t. This is also interesting for other types. Signed-off-by: David Oberhollenzer --- include/sqfs/meta_writer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sqfs/meta_writer.h') diff --git a/include/sqfs/meta_writer.h b/include/sqfs/meta_writer.h index be151cc..58968f5 100644 --- a/include/sqfs/meta_writer.h +++ b/include/sqfs/meta_writer.h @@ -46,6 +46,8 @@ * The main task of the meta data writer is to provide a simple append * function that transparently takes care of chopping data up into blocks, * compressing the blocks and pre-pending a header. + * + * This object is not copyable, i.e. @ref sqfs_copy will always return NULL. */ /** -- cgit v1.2.3