From 2a05bf5bc660bfebb35e42f1f8a0c0ac56e0f9d9 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 21 Jul 2019 20:22:04 +0200 Subject: Implement generating an inode table for NFS export Signed-off-by: David Oberhollenzer --- include/highlevel.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/highlevel.h b/include/highlevel.h index 4bc3b7a..12884a0 100644 --- a/include/highlevel.h +++ b/include/highlevel.h @@ -75,4 +75,12 @@ int deserialize_fstree(fstree_t *out, sqfs_super_t *super, compressor_t *cmp, int write_xattr(int outfd, fstree_t *fs, sqfs_super_t *super, compressor_t *cmp); +/* + Generate an NFS export table. + + Returns 0 on success. Prints error messages to stderr on failure. + */ +int write_export_table(int outfd, fstree_t *fs, sqfs_super_t *super, + compressor_t *cmp); + #endif /* HIGHLEVEL_H */ -- cgit v1.2.3