summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-21 20:22:04 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-21 20:22:04 +0200
commit2a05bf5bc660bfebb35e42f1f8a0c0ac56e0f9d9 (patch)
tree07492d6744db580ba487503a7a4572d4a92ae0c1 /include
parent80cc3970e97ec71b5e645ca5132bebf115423fb2 (diff)
Implement generating an inode table for NFS export
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 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 */