summaryrefslogtreecommitdiff
path: root/include/sqfs/predef.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-07 01:08:14 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-07 01:08:14 +0200
commit3d9ba1a234d0966de21d8d592bea7b4ffc325586 (patch)
treee53449ca435ec00f0da938d8530f740cffcc1272 /include/sqfs/predef.h
parent373ba219aa385678a14f9c17b48ad807858804ce (diff)
Move data structure forward declarations to predef header
This in turn allows for removing most of the header inclusions within the public headers. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/predef.h')
-rw-r--r--include/sqfs/predef.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/sqfs/predef.h b/include/sqfs/predef.h
index 0fec9e2..6df257c 100644
--- a/include/sqfs/predef.h
+++ b/include/sqfs/predef.h
@@ -38,4 +38,32 @@
#endif
#endif
+typedef struct sqfs_block_t sqfs_block_t;
+typedef struct sqfs_block_processor_t sqfs_block_processor_t;
+typedef struct sqfs_compressor_config_t sqfs_compressor_config_t;
+typedef struct sqfs_compressor_t sqfs_compressor_t;
+typedef struct sqfs_dir_writer_t sqfs_dir_writer_t;
+typedef struct sqfs_id_table_t sqfs_id_table_t;
+typedef struct sqfs_meta_reader_t sqfs_meta_reader_t;
+typedef struct sqfs_meta_writer_t sqfs_meta_writer_t;
+typedef struct sqfs_xattr_reader_t sqfs_xattr_reader_t;
+
+typedef struct sqfs_fragment_t sqfs_fragment_t;
+typedef struct sqfs_dir_header_t sqfs_dir_header_t;
+typedef struct sqfs_dir_entry_t sqfs_dir_entry_t;
+typedef struct sqfs_dir_index_t sqfs_dir_index_t;
+typedef struct sqfs_inode_t sqfs_inode_t;
+typedef struct sqfs_inode_dev_t sqfs_inode_dev_t;
+typedef struct sqfs_inode_dev_ext_t sqfs_inode_dev_ext_t;
+typedef struct sqfs_inode_ipc_t sqfs_inode_ipc_t;
+typedef struct sqfs_inode_ipc_ext_t sqfs_inode_ipc_ext_t;
+typedef struct sqfs_inode_slink_t sqfs_inode_slink_t;
+typedef struct sqfs_inode_slink_ext_t sqfs_inode_slink_ext_t;
+typedef struct sqfs_inode_file_t sqfs_inode_file_t;
+typedef struct sqfs_inode_file_ext_t sqfs_inode_file_ext_t;
+typedef struct sqfs_inode_dir_t sqfs_inode_dir_t;
+typedef struct sqfs_inode_dir_ext_t sqfs_inode_dir_ext_t;
+typedef struct sqfs_inode_generic_t sqfs_inode_generic_t;
+typedef struct sqfs_super_t sqfs_super_t;
+
#endif /* SQFS_PREDEF_H */