diff options
Diffstat (limited to 'include/erofs/config.h')
-rw-r--r-- | include/erofs/config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/erofs/config.h b/include/erofs/config.h index 0a1b18b..0d0916c 100644 --- a/include/erofs/config.h +++ b/include/erofs/config.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */ /* * Copyright (C) 2018-2019 HUAWEI, Inc. * http://www.huawei.com/ @@ -43,7 +43,9 @@ struct erofs_configure { char c_timeinherit; char c_chunkbits; bool c_noinline_data; + bool c_ztailpacking; bool c_ignore_mtime; + bool c_showprogress; #ifdef HAVE_LIBSELINUX struct selabel_handle *sehnd; @@ -91,6 +93,9 @@ static inline int erofs_selabel_open(const char *file_contexts) } #endif +void erofs_update_progressinfo(const char *fmt, ...); +char *erofs_trim_for_progressinfo(const char *str, int placeholder); + #ifdef __cplusplus } #endif |