summaryrefslogtreecommitdiff
path: root/include/id_table.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-01 02:33:20 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-02 12:40:06 +0200
commitfd22d7851e08ab6c9b57f5857062a9e4cfdc41cc (patch)
tree285ef4a6990ebc38a91495e1453ed1bbcf2f0feb /include/id_table.h
parent9eec700a703f62e27768f37a1c6c0e859212320c (diff)
cleanup round
- remove debug prints - move id table write out to id table code - dummy remove wrapper function for fragment table Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/id_table.h')
-rw-r--r--include/id_table.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/id_table.h b/include/id_table.h
index 6d5d416..c49923e 100644
--- a/include/id_table.h
+++ b/include/id_table.h
@@ -5,6 +5,8 @@
#include <stdint.h>
#include <stddef.h>
+#include "compress.h"
+
typedef struct {
uint32_t *ids;
size_t num_ids;
@@ -17,4 +19,7 @@ void id_table_cleanup(id_table_t *tbl);
int id_table_id_to_index(id_table_t *tbl, uint32_t id, uint16_t *out);
+int id_table_write(id_table_t *tbl, int outfd, sqfs_super_t *super,
+ compressor_t *cmp);
+
#endif /* ID_TABLE_H */