summaryrefslogtreecommitdiff
path: root/src/header.h
diff options
context:
space:
mode:
authorjakob <jakob@memeware.net>2017-04-09 19:39:46 -0400
committerjakob <jakob@memeware.net>2017-04-09 19:39:46 -0400
commit411a40b5c077ca69e34c7016428eb9d856f8fe73 (patch)
treecff2ee6b0f6e4144a0041c53adfc8c542088781c /src/header.h
parent8a1fcff16e9ba8674c72011da7da5ad1bc133168 (diff)
Automated style checking and fixed unit tests.
Diffstat (limited to 'src/header.h')
-rw-r--r--src/header.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/header.h b/src/header.h
index 19f7fcd..8ccf930 100644
--- a/src/header.h
+++ b/src/header.h
@@ -27,12 +27,12 @@
/* Structure representing the header section of an XP3 archive. */
struct header {
- char magic[11]; /* Identifier for the archive. */
- uint64_t info_offset; /* Offset to `table_size`. */
- uint32_t version; /* Raw value containing the archive version. */
- uint64_t table_size; /* The size of the table section. (?) */
- uint8_t flags; /* A flags variable for the archive. (?) */
- uint64_t table_offset; /* Offset to the archive table. */
+ char magic[11]; /* Identifier for the archive. */
+ uint64_t info_offset; /* Offset to `table_size`. */
+ uint32_t version; /* Raw value containing the archive version. */
+ uint64_t table_size; /* The size of the table section. (?) */
+ uint8_t flags; /* A flags variable for the archive. (?) */
+ uint64_t table_offset; /* Offset to the archive table. */
};
/* Reads data from the given stream into a newly allocated header