]> wimlib.net Git - wimlib/blobdiff - src/header.c
Refactor headers
[wimlib] / src / header.c
index ef0e5783b2e774a2373681eba3b54ad34bd86a8e..c0518ecbabb820bec1933cc5c91d18aeb77173a7 100644 (file)
  * along with wimlib; if not, see http://www.gnu.org/licenses/.
  */
 
-#include "wimlib_internal.h"
-#include "buffer_io.h"
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
+#include "wimlib.h"
+#include "wimlib/assert.h"
+#include "wimlib/buffer_io.h"
+#include "wimlib/error.h"
+#include "wimlib/file_io.h"
+#include "wimlib/header.h"
+#include "wimlib/util.h"
+#include "wimlib/wim.h"
+
 #include <limits.h>
 
 /* First 8 bytes in every WIM file. */
@@ -147,7 +158,7 @@ read_header(const tchar *filename, int in_fd,
  *
  * @hdr:       A pointer to a struct wim_header structure that describes the header.
  * @out_fd:    The file descriptor to the WIM file, opened for writing.
- * 
+ *
  * Returns zero on success, nonzero on failure.
  */
 int