summaryrefslogtreecommitdiff
path: root/include/highlevel.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-20 03:38:15 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-20 18:34:16 +0200
commit08c22510ba901d73f2841434e7e6a2a688b31fa8 (patch)
treed47ec6fa8c5d61739a71468efa5a3046336c513f /include/highlevel.h
parent9293e4ed36ace256666cddee1b96381b456b0ce7 (diff)
Remove xattr restore & rest of rdtree flags
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/highlevel.h')
-rw-r--r--include/highlevel.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/highlevel.h b/include/highlevel.h
index 0ace08e..6d4b4e6 100644
--- a/include/highlevel.h
+++ b/include/highlevel.h
@@ -34,10 +34,6 @@ typedef struct {
fstree_t fs;
} sqfs_reader_t;
-enum RDTREE_FLAGS {
- RDTREE_READ_XATTR = 0x20,
-};
-
/*
High level helper function to serialize an entire file system tree to
a squashfs inode table and directory table.
@@ -63,13 +59,12 @@ tree_node_t *tree_node_from_inode(sqfs_inode_generic_t *inode,
const char *name);
/*
- Restore a file system tree from a squashfs image. The given flags are a
- combination of RDTREE_FLAGS.
+ Restore a file system tree from a squashfs image.
Returns 0 on success. Prints error messages to stderr on failure.
*/
int deserialize_fstree(fstree_t *out, sqfs_super_t *super,
- sqfs_compressor_t *cmp, sqfs_file_t *file, int flags);
+ sqfs_compressor_t *cmp, sqfs_file_t *file);
/*
Generate a squahfs xattr table from a file system tree.
@@ -94,8 +89,7 @@ void sqfs_print_statistics(sqfs_super_t *super, data_writer_stats_t *stats);
construct datastructures we need to access its contents.
Returns 0 on success. Prints error messages to stderr on failure.
*/
-int sqfs_reader_open(sqfs_reader_t *rd, const char *filename,
- int rdtree_flags);
+int sqfs_reader_open(sqfs_reader_t *rd, const char *filename);
/* Cleanup after a successfull sqfs_reader_open */
void sqfs_reader_close(sqfs_reader_t *rd);