From 0bd27cbaec56d71b2525c2b37ae209396c65d45b Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 28 Sep 2019 17:38:44 +0200 Subject: Add recoding implementation for the xattr writer This commit implements the part of the API responsible for recoding and deduplicating xattr key-value blocks. Signed-off-by: David Oberhollenzer --- include/str_table.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/str_table.h') diff --git a/include/str_table.h b/include/str_table.h index 1f836cc..b60ead6 100644 --- a/include/str_table.h +++ b/include/str_table.h @@ -48,6 +48,8 @@ SQFS_INTERNAL void str_table_reset_ref_count(str_table_t *table); SQFS_INTERNAL void str_table_add_ref(str_table_t *table, size_t index); +SQFS_INTERNAL void str_table_del_ref(str_table_t *table, size_t index); + SQFS_INTERNAL size_t str_table_get_ref_count(str_table_t *table, size_t index); #endif /* STR_TABLE_H */ -- cgit v1.2.3