aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-11 12:48:51 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-11 12:48:51 +0200
commit223dcc487cb0115d3ccb0dd6464d20346253a43e (patch)
treed21ffad29394adc5d3d47b2eb1428f64c4a9d1f1 /include
parent2e3fa3dda9ae4093c421a7e646aeffc119074ccb (diff)
Move write_xattr to libsqfs.a
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/highlevel.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/highlevel.h b/include/highlevel.h
index f61ad0b..4bc3b7a 100644
--- a/include/highlevel.h
+++ b/include/highlevel.h
@@ -67,4 +67,12 @@ tree_node_t *tree_node_from_inode(sqfs_inode_generic_t *inode,
int deserialize_fstree(fstree_t *out, sqfs_super_t *super, compressor_t *cmp,
int fd, int flags);
+/*
+ Generate a squahfs xattr table from a file system tree.
+
+ Returns 0 on success. Prints error messages to stderr on failure.
+ */
+int write_xattr(int outfd, fstree_t *fs, sqfs_super_t *super,
+ compressor_t *cmp);
+
#endif /* HIGHLEVEL_H */