summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/highlevel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/highlevel.h b/include/highlevel.h
index 8173d6f..1c1ea11 100644
--- a/include/highlevel.h
+++ b/include/highlevel.h
@@ -22,6 +22,7 @@
#include "data_writer.h"
#include "fstree.h"
+#include <sys/stat.h>
#include <stdint.h>
#include <stddef.h>
@@ -120,4 +121,6 @@ int xattr_reader_restore_node(sqfs_xattr_reader_t *xr, fstree_t *fs,
sqfs_inode_generic_t *tree_node_to_inode(fstree_t *fs, sqfs_id_table_t *idtbl,
tree_node_t *node);
+int inode_stat(const sqfs_tree_node_t *node, struct stat *sb);
+
#endif /* HIGHLEVEL_H */