diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-25 07:48:14 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-25 07:48:14 +0200 |
commit | 50a551eda7105c90f529efc2f2907dc0cd1c58cf (patch) | |
tree | d6021537b28080eec8e8a8a167ec497a37874f0b /include/fstree.h | |
parent | edac31f28863ae9f1b310d971fb194959c42c916 (diff) |
Remove no-longer-used cruft from libfstree
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/fstree.h')
-rw-r--r-- | include/fstree.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/include/fstree.h b/include/fstree.h index 85e2258..c9ff574 100644 --- a/include/fstree.h +++ b/include/fstree.h @@ -76,26 +76,7 @@ struct file_info_t { /* Path to the input file. */ char *input_file; - uint64_t size; - void *user_ptr; - - /* Number of bytes not written to disk because they are 0 */ - uint64_t sparse; - - /* Absolute position of the first data block. */ - uint64_t startblock; - - /* If the size is not a multiple of the block size, this holds an - index into the fragment table. */ - uint32_t fragment; - - /* Byte offset into the fragment block. */ - uint32_t fragment_offset; - - /* Stores data about each full data block. */ - /* Bit (1 << 24) is set if the block is stored uncompressed. */ - uint32_t block_size[]; }; /* Additional meta data stored in a tree_node_t for directories */ @@ -199,7 +180,7 @@ void fstree_cleanup(fstree_t *fs); The resulting node can be freed with a single free() call. */ -tree_node_t *fstree_mknode(fstree_t *fs, tree_node_t *parent, const char *name, +tree_node_t *fstree_mknode(tree_node_t *parent, const char *name, size_t name_len, const char *extra, const struct stat *sb); |