diff options
Diffstat (limited to 'src/table.h')
| -rw-r--r-- | src/table.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/table.h b/src/table.h index d9e9f53..dd01fa3 100644 --- a/src/table.h +++ b/src/table.h @@ -27,7 +27,7 @@ /* Structure representing one segment associated with a File entry. */ struct segment { - bool compressed; /* Whether or not the segment is compressed. */ + uint32_t compressed; /* Whether or not the segment is compressed. */ uint64_t offset; /* Offset to the segment's beginning. */ uint64_t compressed_size; /* Size of compressed segment. */ uint64_t decompressed_size; /* Size of decompressed segment. */ @@ -74,8 +74,8 @@ void entry_append(struct table_entry *root, struct table_entry *e); /* Frees every entry in the linked list specified by `cur`. */ void entry_free(struct table_entry *cur); -/* Dumps the XP3 table specified by `root` into `fp`. */ -void dump_table(FILE *fp, struct table_entry *root); +/* Dumps the XP3 table specified by `root` into `s`. */ +void dump_table(struct stream *s, struct table_entry *root); /* Inserts the file specified by `path` into the table linked list specified by `root`. */ |